summaryrefslogtreecommitdiffstats
path: root/sys/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/rpc')
-rw-r--r--sys/rpc/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/rpc/types.h b/sys/rpc/types.h
index 58d22a8..4be9cc8 100644
--- a/sys/rpc/types.h
+++ b/sys/rpc/types.h
@@ -65,7 +65,9 @@ typedef int32_t rpc_inline_t;
#define mem_free(ptr, bsize) free(ptr)
#include <sys/time.h>
+#ifndef _KERNEL
#include <netconfig.h>
+#endif
/*
* The netbuf structure is defined here, because FreeBSD / NetBSD only use
OpenPOWER on IntegriCloud