aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-08-08 20:09:08 +0000
committerGunter Knauf <gk@gknw.de>2007-08-08 20:09:08 +0000
commit1866b95b7ff22cafff2f906199722b57f3617651 (patch)
treebe532995cfbb1874cf1d7aad0d9cc72f9feb6eb5
parent668c204970399211770542b21b8b873dcf68383c (diff)
moved ugly CLIB define to nwos.c.
-rw-r--r--lib/inet_ntop.c4
-rw-r--r--lib/nwos.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c
index e81cb5c55..a05689adb 100644
--- a/lib/inet_ntop.c
+++ b/lib/inet_ntop.c
@@ -42,10 +42,6 @@
#include "inet_ntop.h"
-#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
-NETINET_DEFINE_CONTEXT
-#endif
-
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
/* this platform has a inet_ntoa_r() function, but no proto declared anywhere
so we include our own proto to make compilers happy */
diff --git a/lib/nwos.c b/lib/nwos.c
index f1cf194df..22720a5b4 100644
--- a/lib/nwos.c
+++ b/lib/nwos.c
@@ -43,6 +43,9 @@ int netware_init ( void )
/* Make the CLIB Ctx stuff link */
#include <netdb.h>
NETDB_DEFINE_CONTEXT
+/* Make the CLIB Inet stuff link */
+#include <arpa/inet.h>
+NETINET_DEFINE_CONTEXT
int netware_init ( void )
{