diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-07-07 07:25:57 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-07-07 07:25:57 +0000 |
commit | 45f1824dc839fb6401cd6e061924a604438b2bed (patch) | |
tree | 541539a86a0ddc1120fec25bcc71774da26f783b /libc/inet/rpc/rpc_commondata.c | |
parent | f6fcd28c186a9ff0544e92c32ec61b871aa30b8f (diff) |
Kill namespace pollution in getrpcent.c. Silence other rpc warnings
by fixing prototypes. Fix global stuff so it should behave itself
properly now,
-Erik
Diffstat (limited to 'libc/inet/rpc/rpc_commondata.c')
-rw-r--r-- | libc/inet/rpc/rpc_commondata.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/inet/rpc/rpc_commondata.c b/libc/inet/rpc/rpc_commondata.c index 6b22b3f66..187d915ba 100644 --- a/libc/inet/rpc/rpc_commondata.c +++ b/libc/inet/rpc/rpc_commondata.c @@ -27,13 +27,14 @@ * Mountain View, California 94043 */ #include <rpc/rpc.h> +#include <sys/poll.h> +#include <sys/select.h> -#ifdef _RPC_THREAD_SAFE_ #undef svc_fdset #undef rpc_createerr #undef svc_pollfd #undef svc_max_pollfd -#endif /* _RPC_THREAD_SAFE_ */ + /* * This file should only contain common data (global data) that is exported |