summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-03-20 10:27:03 +0000
committeralfred <alfred@FreeBSD.org>2001-03-20 10:27:03 +0000
commite345ef481160c6d89bd8ac528d7704b1f80d7817 (patch)
tree65970084a2dd56a4c85af5c9099ce9617c2a546e /include/rpc
parenta18da66f92ea26572e1921ae83af1eb794d51071 (diff)
downloadFreeBSD-src-e345ef481160c6d89bd8ac528d7704b1f80d7817.zip
FreeBSD-src-e345ef481160c6d89bd8ac528d7704b1f80d7817.tar.gz
Unbreak LINT.
because rpcb_clnt.h is generated during buildworld and only installed into /usr/include/rpc (and not present in src/include/rpc) we can fix it by simply not including it when _KERNEL is defined. this isn't the most elegant, way and might deserve some revisiting later. Pointed out by: bde
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