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, 7 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c
index faa5c419a..1b57e3fec 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -52,6 +52,13 @@
#include <stdlib.h> /* required for free() prototype, without it, this crashes
on macos 68K */
#endif
+#if (defined(HAVE_FIONBIO) && defined(__NOVELL_LIBC__))
+#include <sys/filio.h>
+#endif
+#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
+#undef in_addr_t
+#define in_addr_t unsigned long
+#endif
#ifdef VMS
#include <in.h>
#include <inet.h>