summaryrefslogtreecommitdiff
path: root/lib/hostasyn.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2013-02-11 13:29:16 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2013-02-11 13:29:16 +0100
commit579d668f74ce35a997c56f9fd831016ed103d4ac (patch)
tree04316f84e5b6ffac55f1492d8a371e7f2ccd0a3c /lib/hostasyn.c
parentcc228a68fc4d70a60d371f66640e1d9ed6491886 (diff)
Imported Upstream version 7.29.0
Diffstat (limited to 'lib/hostasyn.c')
-rw-r--r--lib/hostasyn.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/hostasyn.c b/lib/hostasyn.c
index 771562fd..8151b671 100644
--- a/lib/hostasyn.c
+++ b/lib/hostasyn.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -20,11 +20,8 @@
*
***************************************************************************/
-#include "setup.h"
+#include "curl_setup.h"
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@@ -34,9 +31,6 @@
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h> /* for the close() proto */
-#endif
#ifdef __VMS
#include <in.h>
#include <inet.h>