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

@@ -36,7 +36,7 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_MALLOC_H
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#include <errno.h>