summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-13 21:41:01 +0000
committerJeremy Allison <jra@samba.org>1998-11-13 21:41:01 +0000
commit8fc1504ff8204dd1ca735f31c769f6dadf0f88cb (patch)
treec8f269c0f415afebc4069aee335629a08d2e0916 /source3/include/includes.h
parente623b717502988f630a73a5e809c456b1839ebdb (diff)
downloadsamba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.tar.gz
samba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.tar.bz2
samba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.zip
Makefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf. include/includes.h: Fix YP problem. include/smb.h: Fix ZERO_STRUCTP. lib/util_sock.c: Added strerror() in debugs. passdb/ldap.c: Don't use snprinf, use slprintf. rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf. script/installman.sh: DGUX changes. smbd/open.c smbd/oplock.c: Fixed gcc warnings. web/swat.c: Changes USER to SWAT_USER. (This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 6c7a67afef..274d3ccf24 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -586,9 +586,17 @@ union semun {
#define HAVE_NETGROUP 1
#endif
-#if defined (HAVE_NETGROUP) && defined(HAVE_RPCSVC_YPCLNT_H)
-#include "rpcsvc/ypclnt.h"
+#if defined (HAVE_NETGROUP)
+#if defined(HAVE_RPC_RPC_H)
+#include <rpc/rpc.h>
#endif
+#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 ALLOW_CHANGE_PASSWORD
#if (defined(HAVE_TERMIOS_H) && defined(HAVE_DUP2) && defined(HAVE_SETSID))