From: Gunter Knauf Date: Wed, 8 Aug 2007 20:09:08 +0000 (+0000) Subject: moved ugly CLIB define to nwos.c. X-Git-Tag: upstream/7.37.1~8823 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1866b95b7ff22cafff2f906199722b57f3617651;p=platform%2Fupstream%2Fcurl.git moved ugly CLIB define to nwos.c. --- diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index e81cb5c..a05689a 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 f1cf194..22720a5 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 ) {