summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcmetz <>1999-06-23 23:04:50 +0000
committercmetz <>1999-06-23 23:04:50 +0000
commit4dc768389d9231ed51614d2090d501926cf43ed5 (patch)
tree189f1265492f6899b894f69493a59eaa017bf8a8 /src
parentcfe67577db8d1872a9aaad7dd5db3b05b7b400dd (diff)
downloadopenbsd-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.c3
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
60static int netdb_lookup_name(int family, void *addr, int addrlen, char *name, 61static 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;