summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/get_myaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/get_myaddress.c')
-rw-r--r--lib/libc/rpc/get_myaddress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/get_myaddress.c b/lib/libc/rpc/get_myaddress.c
index c5cd91c..1565531 100644
--- a/lib/libc/rpc/get_myaddress.c
+++ b/lib/libc/rpc/get_myaddress.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)get_myaddress.c 2.1 88/07/29 4.0 RPCSRC";*/
-static char *rcsid = "$Id: get_myaddress.c,v 1.1 1994/08/07 18:35:49 wollman Exp $";
+static char *rcsid = "$Id: get_myaddress.c,v 1.2 1995/05/30 05:41:20 rgrimes Exp $";
#endif
/*
@@ -45,6 +45,7 @@ static char *rcsid = "$Id: get_myaddress.c,v 1.1 1994/08/07 18:35:49 wollman Exp
#include <rpc/pmap_prot.h>
#include <sys/socket.h>
#include <stdio.h>
+#include <unistd.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
OpenPOWER on IntegriCloud