summaryrefslogtreecommitdiff
path: root/lib/hostsyn.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-07-26 17:23:27 +0200
committerYang Tse <yangsita@gmail.com>2011-07-26 17:23:27 +0200
commitf1586cb4775681810afd8e6626e7842d459f3b85 (patch)
tree88590b6cd73744ed6c7ffe78a8ccafe3dfb1b90a /lib/hostsyn.c
parent983f3d70f9610a35f279b656a3322087e272f2a6 (diff)
downloadcurl-f1586cb4775681810afd8e6626e7842d459f3b85.tar.gz
stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
Diffstat (limited to 'lib/hostsyn.c')
-rw-r--r--lib/hostsyn.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index a5e97658e..b60188708 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -22,8 +22,6 @@
#include "setup.h"
-#include <string.h>
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -36,16 +34,12 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h> /* required for free() prototypes */
-#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for the close() proto */
#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>
-#include <stdlib.h>
#endif
#ifdef HAVE_PROCESS_H