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)
committerIan Beckwith <ianb@erislabs.net>
Fri, 10 Jun 2011 00:52:59 +0000 (01:52 +0100)
* tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.
(cherry picked from commit 977668097235961df277425c64c0d2f51b3eed0f)

ChangeLog
tests/test-sameacls.c

index e054ba8..aee35e1 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