summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5Tests.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-04-11 15:07:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-04-11 15:07:29 (GMT)
commit47c80528facedd548666ebe87539f80e56968857 (patch)
tree9ab21eff6f0bb27cea30d1277f47440839d0275f /config/cmake/HDF5Tests.c
parent41a304212cd56c6aa7e923f041c5b397377e86bc (diff)
downloadhdf5-47c80528facedd548666ebe87539f80e56968857.zip
hdf5-47c80528facedd548666ebe87539f80e56968857.tar.gz
hdf5-47c80528facedd548666ebe87539f80e56968857.tar.bz2
[svn-r20464] Merge cmake changes from trunk r20463, after weekend of tests on trunk.
Tested: local linux
Diffstat (limited to 'config/cmake/HDF5Tests.c')
-rw-r--r--config/cmake/HDF5Tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/HDF5Tests.c b/config/cmake/HDF5Tests.c
index 7fb5756..ea4a648 100644
--- a/config/cmake/HDF5Tests.c
+++ b/config/cmake/HDF5Tests.c
@@ -217,7 +217,9 @@ SIMPLE_TEST(struct tm tm; tm.tm_gmtoff=0);
#ifdef HAVE_TIMEZONE
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#include <time.h>
SIMPLE_TEST(timezone=0);