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

source3/configure.in

index 61a9849d0dc2cc02291d68af2eadc0f2b1ce9756..8e0434971caca14046bb3a688821bb21d6d39164 100644 (file)
@@ -2210,7 +2210,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],