projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix serious complaint from heikki
[yaz-moved-to-github.git]
/
src
/
gettimeofday.c
diff --git
a/src/gettimeofday.c
b/src/gettimeofday.c
index
c14c36e
..
2310920
100644
(file)
--- a/
src/gettimeofday.c
+++ b/
src/gettimeofday.c
@@
-20,7
+20,9
@@
#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)