From 1866b95b7ff22cafff2f906199722b57f3617651 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Wed, 8 Aug 2007 20:09:08 +0000 Subject: [PATCH] moved ugly CLIB define to nwos.c. --- lib/inet_ntop.c | 4 ---- lib/nwos.c | 3 +++ 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_DEFINE_CONTEXT +/* Make the CLIB Inet stuff link */ +#include +NETINET_DEFINE_CONTEXT int netware_init ( void ) {