acl tests: Fix compilation error on HP-UX 11.
authorBruno Haible <bruno@clisp.org>
Thu, 9 Jun 2011 09:35:25 +0000 (11:35 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 9 Jun 2011 09:35:25 +0000 (11:35 +0200)
* tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.

ChangeLog
tests/test-sameacls.c

index b50223d..a7c9ecc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * tests/test-rmdir.h (test_rmdir_func): Accept ENOTEMPTY error, like
        EEXIST.
index 557b27d..0f777b5 100644 (file)
@@ -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