From 3cbb1b2b64453c5504df5696ffbf72cb08e43f9c Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 26 Apr 2006 17:23:28 +0000 Subject: Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines (more logical). --- lib/hostip4.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/hostip4.c') diff --git a/lib/hostip4.c b/lib/hostip4.c index c7bdb6dc9..4e57d3e80 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -26,9 +26,9 @@ #include #include -#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) +#ifdef HAVE_MALLOC_H /* Win32 */ #include -#else +#endif #ifdef HAVE_SYS_TYPES_H #include #endif @@ -55,13 +55,12 @@ #include #include #endif -#endif #ifdef HAVE_SETJMP_H #include #endif -#ifdef WIN32 +#ifdef HAVE_PROCESS_H #include #endif -- cgit v1.2.3