ENODATA is not defined in freeBSD 4.6.2
authorHerb Lewis <herb@samba.org>
Wed, 18 Jun 2008 21:29:17 +0000 (14:29 -0700)
committerHerb Lewis <herb@samba.org>
Wed, 18 Jun 2008 21:29:17 +0000 (14:29 -0700)
source/include/includes.h

index 8253ee6544c00e957e385d843590a0451beca0be..09174687cbabf996eb7931719121f9412792a471 100644 (file)
@@ -224,6 +224,10 @@ typedef int ber_int_t;
 #include <sys/attributes.h>
 #endif
 
+#ifndef ENODATA
+#define ENODATA EAGAIN
+#endif
+
 #ifndef ENOATTR
 #define ENOATTR ENODATA
 #endif