aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.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/connect.c
parentf254c59dc7d3559d062c00704e00431bc4504b67 (diff)
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/connect.c')
-rw-r--r--lib/connect.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/connect.c b/lib/connect.c
index f615d81e9..19f5b2f5b 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -22,9 +22,6 @@
#include "setup.h"
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> /* <netinet/tcp.h> may need it */
#endif
@@ -37,9 +34,6 @@
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif