diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-25 13:49:49 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-25 13:49:49 +0000 |
commit | 13616f8f96b12bbbec1ca40ea4356560a456cc11 (patch) | |
tree | bfeb50df46da98e9e0bff82e029ef7e0ad142c51 /lib/ldap.c | |
parent | ab486d1e278c76d2070f8ed38b7fa2fc12b1cd45 (diff) |
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
Diffstat (limited to 'lib/ldap.c')
-rw-r--r-- | lib/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/stat.h> #endif -#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H) +#ifdef NEED_MALLOC_H #include <malloc.h> #endif #include <errno.h> |