summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-24 04:49:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:07 -0500
commit00e05a0b8ba4c6b16a53d20fa5a8eef8fbd6263a (patch)
treec5405a2b82913b5b89924d4918af1cf26f022d63 /source4/include
parentfe45888e228d1452b8301b3b074794bd443a7fa5 (diff)
downloadsamba-00e05a0b8ba4c6b16a53d20fa5a8eef8fbd6263a.tar.gz
samba-00e05a0b8ba4c6b16a53d20fa5a8eef8fbd6263a.tar.bz2
samba-00e05a0b8ba4c6b16a53d20fa5a8eef8fbd6263a.zip
r2582: Merge checks for xattr and acl libraries from Samba3 so the {get,set}ntacl
programs can build on non-xattr machines. (This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index a5fd620049..8b20ee9b4f 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -1057,5 +1057,16 @@ time_t timegm(struct tm *tm);
#define VXFS_QUOTA
#endif
+#if HAVE_SYS_ATTRIBUTES_H
+#include <sys/attributes.h>
+#endif
+
+/* mutually exclusive (SuSE 8.2) */
+#if HAVE_ATTR_XATTR_H
+#include <attr/xattr.h>
+#elif HAVE_SYS_XATTR_H
+#include <sys/xattr.h>
+#endif
+
#endif /* _INCLUDES_H */