/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
#include <windows.h>
#include <sys/timeb.h>
#endif
-#include <time.h>
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include <yaz/gettimeofday.h>
int yaz_gettimeofday(struct timeval *tval)