summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/rpc_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/rpc_private.h')
-rw-r--r--libc/inet/rpc/rpc_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/rpc/rpc_private.h b/libc/inet/rpc/rpc_private.h
index 15250059a..9e01df49a 100644
--- a/libc/inet/rpc/rpc_private.h
+++ b/libc/inet/rpc/rpc_private.h
@@ -1,10 +1,11 @@
-#ifndef _RPC_RPC_H
+#ifndef _RPC_PRIVATE_H
+#define _RPC_PRIVATE_H
#include <rpc/rpc.h>
+#include <libintl.h>
/* Now define the internal interfaces. */
extern u_long _create_xid (void) attribute_hidden;
-libc_hidden_proto(__rpc_thread_createerr)
/*
* Multi-threaded support
@@ -13,14 +14,13 @@ libc_hidden_proto(__rpc_thread_createerr)
*/
#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
+#include <bits/libc-lock.h>
struct rpc_thread_variables {
fd_set svc_fdset_s; /* Global, rpc_common.c */
struct rpc_createerr rpc_createerr_s; /* Global, rpc_common.c */
struct pollfd *svc_pollfd_s; /* Global, rpc_common.c */
int svc_max_pollfd_s; /* Global, rpc_common.c */
- void *authnone_private_s; /* auth_none.c */
-
void *clnt_perr_buf_s; /* clnt_perr.c */
void *clntraw_private_s; /* clnt_raw.c */