summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-23 23:07:38 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-23 23:07:38 +0000
commit53339b63897f51913fef183fd3b4565dad2ffad1 (patch)
treeca565362b269dac5a1fcb57dde44a194615e8e94 /source/include
parent0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46 (diff)
downloadsamba-53339b63897f51913fef183fd3b4565dad2ffad1.tar.gz
samba-53339b63897f51913fef183fd3b4565dad2ffad1.tar.xz
samba-53339b63897f51913fef183fd3b4565dad2ffad1.zip
re-added includes for yp_prot.h and yp_clnt.h
Diffstat (limited to 'source/include')
-rw-r--r--source/include/includes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 96ff1fadf90..a08efb2ad61 100644
--- a/source/include/includes.h
+++ b/source/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