aboutsummaryrefslogtreecommitdiff
path: root/lib/inet_ntop.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
committerGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
commitafdfa4bed24c9f937bc49807c6d547ac3a158525 (patch)
tree6ae4f7930b6bde890fd9792f68f19a914e7e14c0 /lib/inet_ntop.c
parent3fc6faf1ae48f15f627ccd4fae92d9c085876d42 (diff)
downloadgnurl-afdfa4bed24c9f937bc49807c6d547ac3a158525.tar.gz
gnurl-afdfa4bed24c9f937bc49807c6d547ac3a158525.tar.bz2
gnurl-afdfa4bed24c9f937bc49807c6d547ac3a158525.zip
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.
Diffstat (limited to 'lib/inet_ntop.c')
-rw-r--r--lib/inet_ntop.c4
1 files changed, 4 insertions, 0 deletions
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 */