Permalink
Browse files

moved ugly NetWare hack to hostip.h so that hostip.c uses it too.

  • Loading branch information...
1 parent a4ebf5b commit ac02d379ba4580a2ff4e5b12eaea12edca0a2250 @gknauf gknauf committed Aug 8, 2006
Showing with 5 additions and 5 deletions.
  1. +5 −0 lib/hostip.h
  2. +0 −5 lib/hostip4.c
View
@@ -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.
*/
View
@@ -64,11 +64,6 @@
#include <process.h>
#endif
-#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
-#undef in_addr_t
-#define in_addr_t unsigned long
-#endif
-
#include "urldata.h"
#include "sendf.h"
#include "hostip.h"

0 comments on commit ac02d37

Please sign in to comment.