re-added includes for yp_prot.h and yp_clnt.h
authorLuke Leighton <lkcl@samba.org>
Mon, 23 Nov 1998 23:07:38 +0000 (23:07 +0000)
committerLuke Leighton <lkcl@samba.org>
Mon, 23 Nov 1998 23:07:38 +0000 (23:07 +0000)
(This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)

source3/include/includes.h

index 96ff1fadf907d4e26c4d7f03b5036b6be4c818bc..a08efb2ad61f22716f6a408a8b58be707750a5f1 100644 (file)
 #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