summaryrefslogtreecommitdiffstats
path: root/sys/rpc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-10 22:10:16 +0000
committerpjd <pjd@FreeBSD.org>2007-04-10 22:10:16 +0000
commitc22a6a4408dcbbfb42eaaee954606c913c141660 (patch)
tree14e8d907240a95ebda0b5bc2450f73aea1c25a71 /sys/rpc
parente97a378b02662f173b005847d6cd159a3a31ae58 (diff)
downloadFreeBSD-src-c22a6a4408dcbbfb42eaaee954606c913c141660.zip
FreeBSD-src-c22a6a4408dcbbfb42eaaee954606c913c141660.tar.gz
Move rpc/types.h under sys/, as this is used by ZFS kernel module.
Repo-copied by: simon
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