diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-23 23:07:38 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-23 23:07:38 +0000 |
commit | f516cec31ad535c79cc4a3d8b7f12b45e1073605 (patch) | |
tree | 5deda95b07c16af84e5c5c7ec1cc378f9fed8825 | |
parent | d75712e52aadf66d6daef3daf26fdcc215e2d252 (diff) | |
download | samba-f516cec31ad535c79cc4a3d8b7f12b45e1073605.tar.gz samba-f516cec31ad535c79cc4a3d8b7f12b45e1073605.tar.bz2 samba-f516cec31ad535c79cc4a3d8b7f12b45e1073605.zip |
re-added includes for yp_prot.h and yp_clnt.h
(This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)
-rw-r--r-- | source3/include/includes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 96ff1fadf9..a08efb2ad6 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -298,10 +298,23 @@ #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 |