summaryrefslogtreecommitdiff
path: root/ares_getnameinfo.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-14 18:36:59 +0100
committerYang Tse <yangsita@gmail.com>2012-12-14 18:36:59 +0100
commit0c677f578e8be6050c976f3923b833fbe8fc9cfb (patch)
tree5953c9ef2d2eca4b27ddb1a3ac72d1f70429c4e6 /ares_getnameinfo.c
parenta1035276c1354a2161cfe6c3050d6059060ff8bb (diff)
downloadc-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.tar.gz
c-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.tar.bz2
c-ares-0c677f578e8be6050c976f3923b833fbe8fc9cfb.zip
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_getnameinfo.c')
-rw-r--r--ares_getnameinfo.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ares_getnameinfo.c b/ares_getnameinfo.c
index 351fb08..75cb7ed 100644
--- a/ares_getnameinfo.c
+++ b/ares_getnameinfo.c
@@ -22,9 +22,6 @@
# endif
#endif
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
@@ -47,10 +44,6 @@
#include <net/if.h>
#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
#include "ares.h"
#include "ares_ipv6.h"
#include "inet_ntop.h"