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 fe8eeb5641
commit 9770899a4b
23 changed files with 143 additions and 48 deletions

View file

@ -25,9 +25,6 @@
#include <curl/curl.h>
#ifdef NEED_MALLOC_H
# include <malloc.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif