1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

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>
This commit is contained in:
Andrew Tridgell 2012-04-18 14:35:17 +10:00
parent 8c9c6f869d
commit 2eb899de6a

View File

@ -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