From 2eb899de6a2bdf1aac1c1f010a6d2b5b02f9de39 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 18 Apr 2012 14:35:17 +1000 Subject: 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 --- lib/replace/system/filesys.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/replace') 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 -- cgit