summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5Tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'config/cmake/HDF5Tests.c')
-rw-r--r--config/cmake/HDF5Tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDF5Tests.c b/config/cmake/HDF5Tests.c
index 2f69ec8..21206e0 100644
--- a/config/cmake/HDF5Tests.c
+++ b/config/cmake/HDF5Tests.c
@@ -377,10 +377,10 @@ int main(int argc, char **argv)
#endif
#ifdef GETTIMEOFDAY_GIVES_TZ
+#include <time.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
-#include <time.h>
int main(void)
{
struct timeval tv;