summaryrefslogtreecommitdiff
path: root/source3/lib/sysacls.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-13 23:48:33 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 00:47:57 +0200
commit321587e44a337e8c47ed3a3c22dd1243d06d8a26 (patch)
tree7c30f7244e3732ea8c73548b66fe13f1afeb4ab0 /source3/lib/sysacls.c
parentc4331f6fcfa68822193a7ac9697d14bf8e0cde3b (diff)
downloadsamba-321587e44a337e8c47ed3a3c22dd1243d06d8a26.tar.gz
samba-321587e44a337e8c47ed3a3c22dd1243d06d8a26.tar.bz2
samba-321587e44a337e8c47ed3a3c22dd1243d06d8a26.zip
s3-includes: only include acl prototypes when needed.
Guenther
Diffstat (limited to 'source3/lib/sysacls.c')
-rw-r--r--source3/lib/sysacls.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index 9a49c50127..fad717b3d5 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -22,6 +22,26 @@
#include "includes.h"
#include "system/passwd.h"
+#if defined(HAVE_POSIX_ACLS)
+#include "modules/vfs_posixacl.h"
+#endif
+
+#if defined(HAVE_TRU64_ACLS)
+#include "modules/vfs_tru64acl.h"
+#endif
+
+#if defined(HAVE_SOLARIS_ACLS) || defined(HAVE_UNIXWARE_ACLS)
+#include "modules/vfs_solarisacl.h"
+#endif
+
+#if defined(HAVE_HPUX_ACLS)
+#include "modules/vfs_hpuxacl.h"
+#endif
+
+#if defined(HAVE_IRIX_ACLS)
+#include "modules/vfs_irixacl.h"
+#endif
+
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS