diff options
author | cmetz <> | 1999-06-23 23:04:50 +0000 |
---|---|---|
committer | cmetz <> | 1999-06-23 23:04:50 +0000 |
commit | 4dc768389d9231ed51614d2090d501926cf43ed5 (patch) | |
tree | 189f1265492f6899b894f69493a59eaa017bf8a8 /src | |
parent | cfe67577db8d1872a9aaad7dd5db3b05b7b400dd (diff) | |
download | openbsd-4dc768389d9231ed51614d2090d501926cf43ed5.tar.gz openbsd-4dc768389d9231ed51614d2090d501926cf43ed5.tar.bz2 openbsd-4dc768389d9231ed51614d2090d501926cf43ed5.zip |
Fixed compilation problems.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/net/getnameinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/getnameinfo.c b/src/lib/libc/net/getnameinfo.c index 95b27a7006..1ae197c15a 100644 --- a/src/lib/libc/net/getnameinfo.c +++ b/src/lib/libc/net/getnameinfo.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <netdb.h> | 43 | #include <netdb.h> |
44 | #include <errno.h> | 44 | #include <errno.h> |
45 | #include <string.h> | 45 | #include <string.h> |
46 | #include <resolv.h> | ||
46 | 47 | ||
47 | #ifndef AF_LOCAL | 48 | #ifndef AF_LOCAL |
48 | #define AF_LOCAL AF_UNIX | 49 | #define AF_LOCAL AF_UNIX |
@@ -58,7 +59,7 @@ | |||
58 | } while(0) | 59 | } while(0) |
59 | 60 | ||
60 | static int netdb_lookup_name(int family, void *addr, int addrlen, char *name, | 61 | static int netdb_lookup_name(int family, void *addr, int addrlen, char *name, |
61 | int namelen) | 62 | int namelen, int flags) |
62 | { | 63 | { |
63 | struct hostent *hostent; | 64 | struct hostent *hostent; |
64 | char *c, *c2; | 65 | char *c, *c2; |