summaryrefslogtreecommitdiff
path: root/security/fwtk/files/patch-lib__pname.c
blob: 9532ccffd227b7bcf8bd28818b71bc8060b3cf3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Patch from Rudolf Polzer to fix a compile time warning
and make binaries compiled on 64bit FreeBSD 7.3 work
without segfault on startup.

diff -ru lib/pname.c lib/pname.c
--- lib/pname.c	1997-01-18 19:20:57.000000000 +0000
+++ lib/pname.c	2010-06-30 12:06:26.000000000 +0000
@@ -15,6 +15,7 @@
 #include	<sys/types.h>
 #include	<sys/socket.h>
 #include	<netinet/in.h>
+#include	<arpa/inet.h>
 #include	<netdb.h>
 #include	<syslog.h>
 #include	<ctype.h>