diff options
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r-- | lib/hostip4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c index 4e57d3e80..51eca67fe 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -26,7 +26,7 @@ #include <string.h> #include <errno.h> -#ifdef HAVE_MALLOC_H /* Win32 */ +#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H) #include <malloc.h> #endif #ifdef HAVE_SYS_TYPES_H |