]> granicus.if.org Git - curl/commitdiff
moved ugly CLIB define to nwos.c.
authorGunter Knauf <gk@gknw.de>
Wed, 8 Aug 2007 20:09:08 +0000 (20:09 +0000)
committerGunter Knauf <gk@gknw.de>
Wed, 8 Aug 2007 20:09:08 +0000 (20:09 +0000)
lib/inet_ntop.c
lib/nwos.c

index e81cb5c55d6581456a9c75da2fd280382f2937b7..a05689adbf996de8d31e53fc2fd59897f2ed4c19 100644 (file)
 
 #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 */
index f1cf194df896ae4a454db7e8e0dedecf5bf1d0bd..22720a5b4f56ea9d0833c5fd87cdb31ded87e98f 100644 (file)
@@ -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 )
 {