diff --git a/lib/timeval.h b/lib/timeval.h index 8ab7a4401..5decc892b 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -30,11 +30,14 @@ #include "setup.h" -#ifdef WIN32 -#include -#else #ifdef HAVE_SYS_TIME_H #include +#ifdef TIME_WITH_SYS_TIME +#include +#endif +#else +#ifdef HAVE_TIME_H +#include #endif #endif