From ebc84c4efd2b97a16ee1a67a9811eb77fb85bb58 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 16 Sep 2004 02:49:01 +0000 Subject: r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise. Bugzilla #1778. (This used to be commit 0f1ffe0f304d367fa5db1cfd92a8f5e365233c1f) --- source3/include/includes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include') 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 -#endif #if defined(HAVE_RPCSVC_YP_PROT_H) /* * HP-UX 11.X has TCP_NODELAY and TCP_MAXSEG defined in which @@ -415,6 +412,9 @@ #endif #include #endif +#if defined(HAVE_RPCSVC_YPCLNT_H) +#include +#endif #endif /* HAVE_NETGROUP */ #if defined(HAVE_SYS_IPC_H) -- cgit