diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-02-06 18:54:35 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-02-06 18:54:35 +0000 |
commit | 7ac09a058c85c07755123c493bc7a9652a12020f (patch) | |
tree | 867a4a6a8a54512ed3d45b43d64dae9bc0807b9e /adig.c | |
parent | b9c00a23cef0ea4f6b14c2e074653bde276afcd7 (diff) | |
download | c-ares-7ac09a058c85c07755123c493bc7a9652a12020f.tar.gz c-ares-7ac09a058c85c07755123c493bc7a9652a12020f.tar.bz2 c-ares-7ac09a058c85c07755123c493bc7a9652a12020f.zip |
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
Diffstat (limited to 'adig.c')
-rw-r--r-- | adig.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,12 +21,16 @@ #if defined(WIN32) && !defined(WATT32) #include "nameser.h" #else +#ifdef HAVE_SYS_TIME_H #include <sys/time.h> +#endif #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <netdb.h> #endif #ifdef HAVE_GETOPT_H |