diff --git a/lib/timeval.h b/lib/timeval.h index 8ab7a44012b52cba73d863f0e10647ab95f7d3cb..5decc892b13e0056d254341e4d54eaeab2f1d8ad 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