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
Ignore trs files
[yaz-moved-to-github.git]
/
src
/
gettimeofday.c
diff --git
a/src/gettimeofday.c
b/src/gettimeofday.c
index
c14c36e
..
640cd90
100644
(file)
--- a/
src/gettimeofday.c
+++ b/
src/gettimeofday.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-20,7
+20,9
@@
#include <windows.h>
#include <sys/timeb.h>
#endif
#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)
#include <yaz/gettimeofday.h>
int yaz_gettimeofday(struct timeval *tval)