summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-14 17:36:59 (GMT)
committerYang Tse <yangsita@gmail.com>2012-12-14 17:36:59 (GMT)
commit0c677f578e8be6050c976f3923b833fbe8fc9cfb (patch)
tree5953c9ef2d2eca4b27ddb1a3ac72d1f70429c4e6 /ares_process.c
parenta1035276c1354a2161cfe6c3050d6059060ff8bb (diff)
downloadc-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.zip
c-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.tar.gz
c-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.tar.bz2
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of these two header files now done in setup_once.h
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ares_process.c b/ares_process.c
index 25eb24c..2a02f16 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -17,9 +17,6 @@
#include "ares_setup.h"
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#ifdef HAVE_SYS_UIO_H
# include <sys/uio.h>
#endif
@@ -44,9 +41,6 @@
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif