r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise.
authorTim Potter <tpot@samba.org>
Thu, 16 Sep 2004 02:49:01 +0000 (02:49 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:41 +0000 (10:52 -0500)
Bugzilla #1778.

source/include/includes.h

index 58cb39790f2298264a964c615b8b10a59ff91ad5..3ea4eaa35a94fb4e6a3f0d7db3a8d410ba63ab77 100644 (file)
 #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
 #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)