diff options
-rw-r--r-- | lib/inet_ntop.c | 4 | ||||
-rw-r--r-- | 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.h> NETDB_DEFINE_CONTEXT +/* Make the CLIB Inet stuff link */ +#include <arpa/inet.h> +NETINET_DEFINE_CONTEXT int netware_init ( void ) { |