From: Andrew Tridgell Date: Wed, 18 Apr 2012 04:35:17 +0000 (+1000) Subject: replace: added ENOATTR define if undefined X-Git-Tag: samba-4.0.0alpha20~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39;p=thirdparty%2Fsamba.git 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 --- diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h index e2c3c1dd725..2393068b4f0 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