about summary refs log tree commit diff
path: root/sunrpc/rpc_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc_common.c')
-rw-r--r--sunrpc/rpc_common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sunrpc/rpc_common.c b/sunrpc/rpc_common.c
index 57e14351ea..6b22b3f66b 100644
--- a/sunrpc/rpc_common.c
+++ b/sunrpc/rpc_common.c
@@ -27,6 +27,14 @@
  * Mountain View, California  94043
  */
 #include <rpc/rpc.h>
+
+#ifdef _RPC_THREAD_SAFE_
+#undef svc_fdset
+#undef rpc_createerr
+#undef svc_pollfd
+#undef svc_max_pollfd
+#endif /* _RPC_THREAD_SAFE_ */
+
 /*
  * This file should only contain common data (global data) that is exported
  * by public interfaces