summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index bec0575..18a6211 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -86,6 +86,7 @@ inline int Chdir(const char* dir)
# endif
#elif defined( __CYGWIN__ ) || defined( __linux__ )
# include <sys/time.h>
+# include <time.h>
# define HAVE_GETTIMEOFDAY
#endif