summaryrefslogtreecommitdiff
path: root/lib/ssh.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
committerYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
commita0b207164c6c943adb8b3bf89b375a491b41806a (patch)
tree4b28e66f9b15d8e86cddd8ad4656ed3cf0ac9a90 /lib/ssh.c
parentf254c59dc7d3559d062c00704e00431bc4504b67 (diff)
downloadcurl-a0b207164c6c943adb8b3bf89b375a491b41806a.tar.gz
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of top two most included header files now done in setup_once.h
Diffstat (limited to 'lib/ssh.c')
-rw-r--r--lib/ssh.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 334e4b848..3a9729975 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -33,17 +33,10 @@
#include <libssh2.h>
#include <libssh2_sftp.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif