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/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ldap.c') diff --git a/lib/ldap.c b/lib/ldap.c index dc62c81e9..7b92587d7 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -36,7 +36,7 @@ #ifdef HAVE_SYS_STAT_H #include #endif -#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H) +#ifdef NEED_MALLOC_H #include #endif #include -- cgit v1.2.3