From: Tim Potter Date: Thu, 16 Sep 2004 02:49:01 +0000 (+0000) Subject: r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5801 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f1ffe0f304d367fa5db1cfd92a8f5e365233c1f;p=thirdparty%2Fsamba.git r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise. Bugzilla #1778. --- diff --git a/source/include/includes.h b/source/include/includes.h index 58cb39790f2..3ea4eaa35a9 100644 --- a/source/include/includes.h +++ b/source/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)