summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluationFile.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/cmGeneratorExpressionEvaluationFile.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/cmGeneratorExpressionEvaluationFile.h')
-rw-r--r--Source/cmGeneratorExpressionEvaluationFile.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluationFile.h b/Source/cmGeneratorExpressionEvaluationFile.h
index d597270..26135df 100644
--- a/Source/cmGeneratorExpressionEvaluationFile.h
+++ b/Source/cmGeneratorExpressionEvaluationFile.h
@@ -5,14 +5,19 @@
#include <cmConfigure.h> // IWYU pragma: keep
-#include "cmGeneratorExpression.h"
-
-#include <cm_auto_ptr.hxx>
#include <map>
#include <string>
-#include <sys/types.h>
#include <vector>
+#include "cmGeneratorExpression.h"
+#include "cm_auto_ptr.hxx"
+
+#if defined(_MSC_VER)
+typedef unsigned short mode_t;
+#else
+#include <sys/types.h>
+#endif
+
class cmLocalGenerator;
class cmGeneratorExpressionEvaluationFile