diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-21 10:26:58 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-21 10:26:58 +0000 |
commit | 9770899a4bfb27ea73d0b0ee4be857ea1e47c4fd (patch) | |
tree | 7966686f758d2545de81b434aa530d7f4bfe9094 /lib/hostip4.c | |
parent | fe8eeb5641b488f6a730dd8afd34e589edb9b2c3 (diff) | |
download | curl-9770899a4bfb27ea73d0b0ee4be857ea1e47c4fd.tar.gz |
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.
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r-- | lib/hostip4.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c index f7100417e..168405c19 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -26,9 +26,6 @@ #include <string.h> #include <errno.h> -#ifdef NEED_MALLOC_H -#include <malloc.h> -#endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |