summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index a636716c22..2d82e6e57e 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -207,7 +207,11 @@ typedef int ber_int_t;
#endif
#ifndef ENOATTR
+#if defined(ENODATA)
#define ENOATTR ENODATA
+#else
+#define ENOATTR ENOENT
+#endif
#endif
/* mutually exclusive (SuSE 8.2) */