diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-14 18:36:59 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-14 18:36:59 +0100 |
commit | 0c677f578e8be6050c976f3923b833fbe8fc9cfb (patch) | |
tree | 5953c9ef2d2eca4b27ddb1a3ac72d1f70429c4e6 /ahost.c | |
parent | a1035276c1354a2161cfe6c3050d6059060ff8bb (diff) | |
download | c-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 'ahost.c')
-rw-r--r-- | ahost.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -17,14 +17,11 @@ #include "ares_setup.h" #if !defined(WIN32) || defined(WATT32) -#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif #endif + #ifdef HAVE_STRINGS_H #include <strings.h> #endif |