diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-23 23:02:16 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-23 23:02:16 +0000 |
commit | d75712e52aadf66d6daef3daf26fdcc215e2d252 (patch) | |
tree | 13a40c2bda60a909dcc030001af23136bc777a18 /source3/include | |
parent | d73f8e58affd842cb11b1bba6cca0128182bfc96 (diff) | |
download | samba-d75712e52aadf66d6daef3daf26fdcc215e2d252.tar.gz samba-d75712e52aadf66d6daef3daf26fdcc215e2d252.tar.bz2 samba-d75712e52aadf66d6daef3daf26fdcc215e2d252.zip |
get rid of __wait boring warning, caused by rpc/clnt.h
(This used to be commit 0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 1cc1ffde26..96ff1fadf9 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -46,6 +46,10 @@ #endif +#if defined(HAVE_RPC_RPC_H) +#include <rpc/rpc.h> +#endif + #include <sys/types.h> #ifdef TIME_WITH_SYS_TIME @@ -294,23 +298,10 @@ #include <sys/capability.h> #endif -#if defined(HAVE_RPC_RPC_H) -#include <rpc/rpc.h> -#endif - #if defined(HAVE_YP_GET_DEFAULT_DOMAIN) && defined(HAVE_SETNETGRENT) && defined(HAVE_ENDNETGRENT) && defined(HAVE_GETNETGRENT) #define HAVE_NETGROUP 1 #endif -#if defined (HAVE_NETGROUP) -#if defined(HAVE_RPCSVC_YP_PROT_H) -#include <rpcsvc/yp_prot.h> -#endif -#if defined(HAVE_RPCSVC_YPCLNT_H) -#include <rpcsvc/ypclnt.h> -#endif -#endif /* HAVE_NETGROUP */ - #ifndef uchar #define uchar unsigned char #endif |