summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2006-08-08 22:37:53 +0000
committerGunter Knauf <gk@gknw.de>2006-08-08 22:37:53 +0000
commitac02d379ba4580a2ff4e5b12eaea12edca0a2250 (patch)
treeee495295e359394d2517fa33539d65ea75b4712e /lib/hostip.h
parenta4ebf5b507490ceac7d741c4462ad162629a4bae (diff)
downloadcurl-ac02d379ba4580a2ff4e5b12eaea12edca0a2250.tar.gz
moved ugly NetWare hack to hostip.h so that hostip.c uses it too.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 6e7519c09..c2191479e 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -26,6 +26,11 @@
#include "setup.h"
#include "hash.h"
+#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
+#undef in_addr_t
+#define in_addr_t uint32_t
+#endif
+
/*
* Setup comfortable CURLRES_* defines to use in the host*.c sources.
*/