diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-04-07 18:07:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-04-07 18:07:41 (GMT) |
commit | 3cba2b092f4aa552be326c40b1f4cf3a5f1a4e82 (patch) | |
tree | e0ef64b76a0f2a37e693005416f947c2a8639564 /config/cmake/HDF5Tests.c | |
parent | f9ef7ec457734ed8f45656fb1e7f934107a77390 (diff) | |
download | hdf5-3cba2b092f4aa552be326c40b1f4cf3a5f1a4e82.zip hdf5-3cba2b092f4aa552be326c40b1f4cf3a5f1a4e82.tar.gz hdf5-3cba2b092f4aa552be326c40b1f4cf3a5f1a4e82.tar.bz2 |
[svn-r20433] Implement MinGW changes to CMake configuration
Tested: local linux
Diffstat (limited to 'config/cmake/HDF5Tests.c')
-rw-r--r-- | config/cmake/HDF5Tests.c | 2 |
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); |