diff options
author | cmetz <cmetz@cvs.openbsd.org> | 1999-06-23 23:04:51 +0000 |
---|---|---|
committer | cmetz <cmetz@cvs.openbsd.org> | 1999-06-23 23:04:51 +0000 |
commit | 747c0b3b7bedb5491a5def7d7d69d3089694a3ef (patch) | |
tree | 167794f919c2633038c5aa29b3bc87b8b91e2105 /lib/libc/net/getnameinfo.c | |
parent | 3543fc077268a65c994f29d1f6ff88f3e4fe7c20 (diff) |
Fixed compilation problems.
Diffstat (limited to 'lib/libc/net/getnameinfo.c')
-rw-r--r-- | lib/libc/net/getnameinfo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c index 95b27a70062..1ae197c15aa 100644 --- a/lib/libc/net/getnameinfo.c +++ b/lib/libc/net/getnameinfo.c @@ -43,6 +43,7 @@ #include <netdb.h> #include <errno.h> #include <string.h> +#include <resolv.h> #ifndef AF_LOCAL #define AF_LOCAL AF_UNIX @@ -58,7 +59,7 @@ } while(0) static int netdb_lookup_name(int family, void *addr, int addrlen, char *name, - int namelen) + int namelen, int flags) { struct hostent *hostent; char *c, *c2; |