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 2001-03-20 10:27:03 +00:00
parent 8a43267963
commit 63059857a9

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>