aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connect.c')
-rw-r--r--lib/connect.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 0aeaf7959..8fbdd8661 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -59,10 +59,13 @@
#include <stdlib.h> /* required for free() prototype, without it, this crashes */
#endif /* on macos 68K */
-#if (defined(HAVE_FIONBIO) && defined(__NOVELL_LIBC__))
+#if (defined(HAVE_FIONBIO) && defined(NETWARE))
#include <sys/filio.h>
#endif
-#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
+#ifdef NETWARE
+#ifndef __NOVELL_LIBC__
+NETDB_DEFINE_CONTEXT
+#endif
#undef in_addr_t
#define in_addr_t unsigned long
#endif