]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/acl.h
Rev version, fix compilation error when ACL support is not available
[netatalk.git] / include / atalk / acl.h
index 706faf22ab0c31f899c59f6d06e6d21e076274d2..53d10b19aa011383c1d8f40788f4984332e70b18 100644 (file)
@@ -19,6 +19,8 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
+#ifdef HAVE_ACLS
+
 #ifdef HAVE_SOLARIS_ACLS
 #include <sys/acl.h>
 #endif  /* HAVE_SOLARIS_ACLS */
@@ -39,4 +41,6 @@ extern int nfsv4_chmod(char *name, mode_t mode);
 
 extern int remove_acl_vfs(const char *name);
 
-#endif  /* ATALK_ACL_H */
+#endif /* HAVE_ACLS */
+
+#endif /* ATALK_ACL_H */