diff options
author | Andrew Tridgell <tridge@samba.org> | 2012-04-18 14:35:17 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2012-04-18 07:48:05 +0200 |
commit | 2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39 (patch) | |
tree | e8066c8ed0165c03e53ef8e13f4b3ce6c597353b /lib/replace/system | |
parent | 8c9c6f869d7f6e991806be344f582191d701b77c (diff) | |
download | samba-2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39.tar.gz samba-2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39.tar.bz2 samba-2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39.zip |
replace: added ENOATTR define if undefined
this fixes the build of the tdb xattr wrapper code on systems without
xattr headers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/replace/system')
-rw-r--r-- | lib/replace/system/filesys.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index e2c3c1dd72..2393068b4f 100644 --- a/lib/replace/system/filesys.h +++ b/lib/replace/system/filesys.h @@ -200,4 +200,12 @@ # define uwrap_enabled() 0 #endif /* UID_WRAPPER */ +/* + this allows us to use a uniform error handling for our xattr + wrappers +*/ +#ifndef ENOATTR +#define ENOATTR ENODATA +#endif + #endif |