summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/rpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 8a45c49..2e6b947 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -72,7 +72,9 @@
#include <rpc/pmap_clnt.h>
#include <rpc/pmap_prot.h>
+#ifndef _KERNEL
#include <rpc/rpcb_clnt.h> /* rpcbind interface functions */
+#endif
#include <rpc/rpcent.h>
OpenPOWER on IntegriCloud