summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/pmap_getport.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/pmap_getport.c')
-rw-r--r--libc/inet/rpc/pmap_getport.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/inet/rpc/pmap_getport.c b/libc/inet/rpc/pmap_getport.c
index 1981cfaa1..b47baf35c 100644
--- a/libc/inet/rpc/pmap_getport.c
+++ b/libc/inet/rpc/pmap_getport.c
@@ -45,6 +45,11 @@ static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
+#undef get_rpc_createerr
+extern struct rpc_createerr *__rpc_thread_createerr_internal (void)
+ __attribute__ ((__const__)) attribute_hidden;
+#define get_rpc_createerr() (*__rpc_thread_createerr_internal ())
+
static const struct timeval timeout =
{5, 0};
static const struct timeval tottimeout =