summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/pmap_getport.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/pmap_getport.c')
-rw-r--r--lib/libc/rpc/pmap_getport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/pmap_getport.c b/lib/libc/rpc/pmap_getport.c
index c982fe8..dd63a37 100644
--- a/lib/libc/rpc/pmap_getport.c
+++ b/lib/libc/rpc/pmap_getport.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char *rcsid = "$Id: pmap_getport.c,v 1.1 1994/08/07 18:35:55 wollman Exp $";
+static char *rcsid = "$Id: pmap_getport.c,v 1.2 1995/05/30 05:41:24 rgrimes Exp $";
#endif
/*
@@ -45,6 +45,7 @@ static char *rcsid = "$Id: pmap_getport.c,v 1.1 1994/08/07 18:35:55 wollman Exp
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
#include <net/if.h>
+#include <unistd.h>
static struct timeval timeout = { 5, 0 };
static struct timeval tottimeout = { 60, 0 };
OpenPOWER on IntegriCloud