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

This commit is contained in:
Yang Tse
2006-07-25 13:49:49 +00:00
parent ab486d1e27
commit 13616f8f96
16 changed files with 16 additions and 16 deletions

View File

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