Merge from 3.0:
authorTim Potter <tpot@samba.org>
Sun, 1 Feb 2004 22:19:01 +0000 (22:19 +0000)
committerTim Potter <tpot@samba.org>
Sun, 1 Feb 2004 22:19:01 +0000 (22:19 +0000)
>Include sys/acl.h in check for broken nisplus include files.  Bug #1025.
(This used to be commit cbf9c3d3953e25999312492dc08f61db875a04e7)

source3/configure.in

index 94f623f6e389122b69e5864f1f3ead90afba81f9..af6836f0605bbe5989a0228ab0fe0343d58c9286 100644 (file)
@@ -2211,7 +2211,9 @@ fi
 esac
 
 AC_CACHE_CHECK([for broken nisplus include files],samba_cv_BROKEN_NISPLUS_INCLUDE_FILES,[
-AC_TRY_COMPILE([#include <sys/acl.h>
+AC_TRY_COMPILE([
+#include <sys/types.h>
+#include <sys/acl.h>
 #if defined(HAVE_RPCSVC_NIS_H)
 #include <rpcsvc/nis.h>
 #endif],