aboutsummaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostasyn.c')
-rw-r--r--lib/hostasyn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostasyn.c b/lib/hostasyn.c
index 63d138934..f7f7b6a8f 100644
--- a/lib/hostasyn.c
+++ b/lib/hostasyn.c
@@ -25,7 +25,7 @@
#include <string.h>
-#ifdef HAVE_MALLOC_H /* Win32 */
+#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H