summaryrefslogtreecommitdiff
path: root/lib/hostip6.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-21 10:26:58 +0000
committerYang Tse <yangsita@gmail.com>2009-04-21 10:26:58 +0000
commit9770899a4bfb27ea73d0b0ee4be857ea1e47c4fd (patch)
tree7966686f758d2545de81b434aa530d7f4bfe9094 /lib/hostip6.c
parentfe8eeb5641b488f6a730dd8afd34e589edb9b2c3 (diff)
downloadcurl-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/hostip6.c')
-rw-r--r--lib/hostip6.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c
index 833e50b93..e63e80670 100644
--- a/lib/hostip6.c
+++ b/lib/hostip6.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
@@ -25,9 +25,6 @@
#include <string.h>
-#ifdef NEED_MALLOC_H
-#include <malloc.h>
-#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif