summaryrefslogtreecommitdiff
path: root/lib/hostsyn.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/hostsyn.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/hostsyn.c')
-rw-r--r--lib/hostsyn.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index 0c09f7094..d0d1ce4aa 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2007, 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