diff --git a/ares/adig.c b/ares/adig.c index 6bc87cf03a..059b03492b 100644 --- a/ares/adig.c +++ b/ares/adig.c @@ -21,12 +21,16 @@ #if defined(WIN32) && !defined(WATT32) #include "nameser.h" #else +#ifdef HAVE_SYS_TIME_H #include +#endif #include #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #endif #ifdef HAVE_GETOPT_H