git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c9c6f8
)
replace: added ENOATTR define if undefined
author
Andrew Tridgell
<tridge@samba.org>
Wed, 18 Apr 2012 04:35:17 +0000
(14:35 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 18 Apr 2012 05:48:05 +0000
(07:48 +0200)
this fixes the build of the tdb xattr wrapper code on systems without
xattr headers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
lib/replace/system/filesys.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/filesys.h
b/lib/replace/system/filesys.h
index e2c3c1dd7250896ae04014ef74442f07c9218d43..2393068b4f09192017ba91086ed24c47bd5118c2 100644
(file)
--- 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