changeset 14898:d1e05397f517

acl tests: Fix compilation error on HP-UX 11. * tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.
author Bruno Haible <bruno@clisp.org>
date Thu, 09 Jun 2011 11:35:25 +0200
parents f93c6aa561db
children 5ac43decc87c
files ChangeLog tests/test-sameacls.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-09  Bruno Haible  <bruno@clisp.org>
+
+	acl tests: Fix compilation error on HP-UX 11.
+	* tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.
+
 2011-06-09  Bruno Haible  <bruno@clisp.org>
 
 	rmdir: Avoid test failure on HP-UX 10.20.
--- a/tests/test-sameacls.c
+++ b/tests/test-sameacls.c
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <sys/stat.h>
 
-#if HAVE_ACL_GET_FILE || HAVE_FACL || HAVE_ACLX_GET || HAVE_STATACL || HAVE_ACLSORT
+#if HAVE_ACL_GET_FILE || HAVE_FACL || HAVE_GETACL || HAVE_ACLX_GET || HAVE_STATACL || HAVE_ACLSORT
 # include <sys/types.h>
 # include <sys/acl.h>
 #endif