From afdfa4bed24c9f937bc49807c6d547ac3a158525 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 30 Jun 2007 20:08:13 +0000 Subject: minor patches to enable building for NetWare CLIB. sent by Dmitry Mityugov. --- lib/inet_ntop.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/inet_ntop.c') diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index a05689adb..e81cb5c55 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -42,6 +42,10 @@ #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 */ -- cgit v1.2.3