summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/pmap_getmaps.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:11:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:11:10 +0000
commit0270cf3de534ebb133e99d67596c9e16e1cdf167 (patch)
treea053858453baed7ccdea13dfa77f07d9feafc32d /lib/libc/rpc/pmap_getmaps.c
parent4c647c64ad12bbd9b186f4e62f9ba0e29874cf85 (diff)
Some -Wall.
Diffstat (limited to 'lib/libc/rpc/pmap_getmaps.c')
-rw-r--r--lib/libc/rpc/pmap_getmaps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/pmap_getmaps.c b/lib/libc/rpc/pmap_getmaps.c
index e49c32a3003..a299b88bffd 100644
--- a/lib/libc/rpc/pmap_getmaps.c
+++ b/lib/libc/rpc/pmap_getmaps.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: pmap_getmaps.c,v 1.5 1997/07/09 03:05:04 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pmap_getmaps.c,v 1.6 1997/09/22 05:11:08 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -46,6 +46,7 @@ static char *rcsid = "$OpenBSD: pmap_getmaps.c,v 1.5 1997/07/09 03:05:04 deraadt
#include <netdb.h>
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include <net/if.h>
#include <sys/ioctl.h>
#define NAMELEN 255