X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fgettimeofday.c;h=2310920e908fe4d451014b14823b0a7d174a12a7;hp=c14c36ed049da08a72c102d3702d9e7d84376b8d;hb=363b51dfb7445d41b7a8c622f61d64736ce82eb4;hpb=fe8b76d75847dfc7f9dac3d1382c2eb0ab28dec0 diff --git a/src/gettimeofday.c b/src/gettimeofday.c index c14c36e..2310920 100644 --- a/src/gettimeofday.c +++ b/src/gettimeofday.c @@ -20,7 +20,9 @@ #include #include #endif -#include +#if HAVE_SYS_TIME_H +#include +#endif #include int yaz_gettimeofday(struct timeval *tval)