summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 00:44:14 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 00:44:14 +0100
commit014bfd35f8c57370b27a1d07c335e2d9813a1333 (patch)
treea4053ec91e7fe37940cb6b9bd10242f95de92d62 /source3/include
parentdfd05b9b65c5ad12dbb64b626d3180fb9e21ccb0 (diff)
downloadsamba-014bfd35f8c57370b27a1d07c335e2d9813a1333.tar.gz
samba-014bfd35f8c57370b27a1d07c335e2d9813a1333.tar.bz2
samba-014bfd35f8c57370b27a1d07c335e2d9813a1333.zip
Some systems do not have XATTR_ defined
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 7eca8d3ddf..c6d0885ad9 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1108,6 +1108,14 @@ char *talloc_asprintf_strupper_m(TALLOC_CTX *t, const char *fmt, ...) PRINTF_ATT
#define VXFS_QUOTA
#endif
+#ifndef XATTR_CREATE
+#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
+#endif
+
+#ifndef XATTR_REPLACE
+#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
+#endif
+
#if defined(HAVE_KRB5)
krb5_error_code smb_krb5_parse_name(krb5_context context,