1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 01:41:38 +00:00

Moved potential inclusion of system's malloc.h and memory.h header files to

setup_once.h.  Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
This commit is contained in:
Yang Tse
2009-04-21 10:26:58 +00:00
parent df96c987c6
commit 1509409fe1
5 changed files with 67 additions and 2 deletions

View File

@ -42,6 +42,14 @@
#include <sys/types.h>
#endif
#ifdef NEED_MALLOC_H
#include <malloc.h>
#endif
#ifdef NEED_MEMORY_H
#include <memory.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif