summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-27 13:40:01 +0000
committernectar <nectar@FreeBSD.org>2003-02-27 13:40:01 +0000
commit0d65b541d4b09e3c91112b5b2ffe0efa9a390a55 (patch)
tree205498ba7f9a56de737c44c088026af3e03556ca /lib/libc/gen
parentae8811433e5eff867ac6b45eb3e972f8b0c6310c (diff)
downloadFreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.zip
FreeBSD-src-0d65b541d4b09e3c91112b5b2ffe0efa9a390a55.tar.gz
Eliminate 19 warnings in libc (at level WARNS=2) of the
`implicit declaration of function' variety.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getpwent.c1
-rw-r--r--lib/libc/gen/nlist.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index cf7c644..63cec21 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
#include <rpcsvc/ypclnt.h>
#endif
#include "un-namespace.h"
+#include "libc_private.h"
#include "pw_scan.h"
diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c
index 6125762..b52d7c2 100644
--- a/lib/libc/gen/nlist.c
+++ b/lib/libc/gen/nlist.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/file.h>
+#include <arpa/inet.h>
#include <errno.h>
#include <a.out.h>
OpenPOWER on IntegriCloud