1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

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
This commit is contained in:
Alfred Perlstein 2001-03-20 10:27:03 +00:00
parent 0abc15fd0b
commit 87800257b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74515

View File

@ -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>