From 13616f8f96b12bbbec1ca40ea4356560a456cc11 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 25 Jul 2006 13:49:49 +0000 Subject: Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if header file must be included even when including . --- lib/hostip4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip4.c') diff --git a/lib/hostip4.c b/lib/hostip4.c index 936e436dc..a45d10580 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -26,7 +26,7 @@ #include #include -#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H) +#ifdef NEED_MALLOC_H #include #endif #ifdef HAVE_SYS_TYPES_H -- cgit v1.2.3