diff options
author | alfred <alfred@FreeBSD.org> | 2001-03-20 10:27:03 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-03-20 10:27:03 +0000 |
commit | e345ef481160c6d89bd8ac528d7704b1f80d7817 (patch) | |
tree | 65970084a2dd56a4c85af5c9099ce9617c2a546e /include/rpc | |
parent | a18da66f92ea26572e1921ae83af1eb794d51071 (diff) | |
download | FreeBSD-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.h | 2 |
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> |