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/hostip6.c | |
parent | ab486d1e278c76d2070f8ed38b7fa2fc12b1cd45 (diff) | |
download | curl-13616f8f96b12bbbec1ca40ea4356560a456cc11.tar.gz |
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/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index a1bc966c1..7ea632a63 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -25,7 +25,7 @@ #include <string.h> -#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H) +#ifdef NEED_MALLOC_H #include <malloc.h> #endif #ifdef HAVE_SYS_TYPES_H |