summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 20:40:14 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-08 14:42:04 (GMT)
commit2e620f0b3834e5a612a38d61b7e50a561d7f11e8 (patch)
treeda56275afc1e4ec1de87169729c99f62fa1ea4c2 /Source/cmSystemTools.h
parentf52bcc2ac1b3dddeca2320d8320a9406101c732d (diff)
downloadCMake-2e620f0b3834e5a612a38d61b7e50a561d7f11e8.zip
CMake-2e620f0b3834e5a612a38d61b7e50a561d7f11e8.tar.gz
CMake-2e620f0b3834e5a612a38d61b7e50a561d7f11e8.tar.bz2
Fix several include-what-you-use findings
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 9817a3c..0801f26 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -11,6 +11,12 @@
#include <string>
#include <vector>
+#if defined(_MSC_VER)
+typedef unsigned short mode_t;
+#else
+#include <sys/types.h>
+#endif
+
class cmSystemToolsFileTime;
/** \class cmSystemTools