From 650445fc3cb8f61fdb6e570e46226fff101bb174 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 6 Aug 2009 15:09:01 -0700 Subject: Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases. Jeremy. --- source3/include/includes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') 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) */ -- cgit