From e345ef481160c6d89bd8ac528d7704b1f80d7817 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 20 Mar 2001 10:27:03 +0000 Subject: 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 --- include/rpc/rpc.h | 2 ++ 1 file changed, 2 insertions(+) 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 #include +#ifndef _KERNEL #include /* rpcbind interface functions */ +#endif #include -- cgit v1.1