include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.

This commit is contained in:
Yang Tse
2006-07-11 21:34:23 +00:00
parent 4d95d23d99
commit fe22872d14
16 changed files with 32 additions and 8 deletions

View File

@@ -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