summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in3
-rw-r--r--source3/lib/replace/system/filesys.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0b2f8bd905..2f6933b6b6 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -918,7 +918,8 @@ AC_CHECK_HEADERS(shadow.h)
AC_CHECK_HEADERS(nss.h nss_common.h nsswitch.h ns_api.h sys/security.h)
AC_CHECK_HEADERS(syscall.h sys/syscall.h)
-AC_CHECK_HEADERS(sys/acl.h sys/attributes.h attr/xattr.h sys/xattr.h sys/extattr.h sys/uio.h)
+AC_CHECK_HEADERS(sys/acl.h acl/libacl.h)
+AC_CHECK_HEADERS(sys/attributes.h attr/xattr.h sys/xattr.h sys/extattr.h sys/uio.h)
AC_CHECK_HEADERS(sys/ea.h sys/proplist.h)
AC_CHECK_HEADERS(sys/cdefs.h glob.h)
diff --git a/source3/lib/replace/system/filesys.h b/source3/lib/replace/system/filesys.h
index 1e48f7ab40..ae36d17a0a 100644
--- a/source3/lib/replace/system/filesys.h
+++ b/source3/lib/replace/system/filesys.h
@@ -41,6 +41,10 @@
#include <sys/acl.h>
#endif
+#ifdef HAVE_SYS_ACL_H
+#include <acl/libacl.h>
+#endif
+
#ifdef HAVE_SYS_FS_S5PARAM_H
#include <sys/fs/s5param.h>
#endif