diff options
author | Jeremy Allison <jra@samba.org> | 2009-08-06 15:09:01 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-08-06 15:09:01 -0700 |
commit | 650445fc3cb8f61fdb6e570e46226fff101bb174 (patch) | |
tree | 2643058a6a0d06ce24653044ca44a13c85a24cf9 /source3/include | |
parent | e76af514c3a99a6c65398a9d7a99012ff73583eb (diff) | |
download | samba-650445fc3cb8f61fdb6e570e46226fff101bb174.tar.gz samba-650445fc3cb8f61fdb6e570e46226fff101bb174.tar.bz2 samba-650445fc3cb8f61fdb6e570e46226fff101bb174.zip |
Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 |
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) */ |