diff --git a/ares/adig.c b/ares/adig.c index 6bc87cf03ad6e1aeea2637f0c7d9704e061e47d3..059b03492b73aaa2ec6469154085f2d2b8071322 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