[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
acl tests on HP-UX
From: |
Bruno Haible |
Subject: |
acl tests on HP-UX |
Date: |
Thu, 9 Jun 2011 11:35:17 +0200 |
User-agent: |
KMail/1.9.9 |
On HP-UX 11, the ACL tests fail to compile:
cc: "test-sameacls.c", line 389: error 1594: The sizeof operator cannot be
applied to types with unknown size.
This fixes it.
2011-06-09 Bruno Haible <address@hidden>
acl tests: Fix compilation error on HP-UX 11.
* tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.
--- tests/test-sameacls.c.orig Thu Jun 9 11:32:06 2011
+++ tests/test-sameacls.c Wed Jun 8 21:55:32 2011
@@ -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
--
In memoriam Johanna Kirchner <http://en.wikipedia.org/wiki/Johanna_Kirchner>
- acl tests on HP-UX,
Bruno Haible <=