summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-16 02:49:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:41 -0500
commitebc84c4efd2b97a16ee1a67a9811eb77fb85bb58 (patch)
tree19c0da135316c010c2767288d634b3d75b2946d8 /source3/include
parente2fb31ebc009b80617549cb0192bdce80020e740 (diff)
downloadsamba-ebc84c4efd2b97a16ee1a67a9811eb77fb85bb58.tar.gz
samba-ebc84c4efd2b97a16ee1a67a9811eb77fb85bb58.tar.bz2
samba-ebc84c4efd2b97a16ee1a67a9811eb77fb85bb58.zip
r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise.
Bugzilla #1778. (This used to be commit 0f1ffe0f304d367fa5db1cfd92a8f5e365233c1f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 58cb39790f..3ea4eaa35a 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -396,9 +396,6 @@
#endif
#if defined (HAVE_NETGROUP)
-#if defined(HAVE_RPCSVC_YPCLNT_H)
-#include <rpcsvc/ypclnt.h>
-#endif
#if defined(HAVE_RPCSVC_YP_PROT_H)
/*
* HP-UX 11.X has TCP_NODELAY and TCP_MAXSEG defined in <netinet/tcp.h> which
@@ -415,6 +412,9 @@
#endif
#include <rpcsvc/yp_prot.h>
#endif
+#if defined(HAVE_RPCSVC_YPCLNT_H)
+#include <rpcsvc/ypclnt.h>
+#endif
#endif /* HAVE_NETGROUP */
#if defined(HAVE_SYS_IPC_H)