summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluationFile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-08 14:44:40 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-08 14:44:40 (GMT)
commit666bb0e3fa0d212c03f785bd9f6bc05d29925e1f (patch)
treec449804319ac490aa80214d9e31265dea4075abe /Source/cmGeneratorExpressionEvaluationFile.h
parent4ec359bd6256e870d9b233fd5cd105e452a62300 (diff)
parent2e620f0b3834e5a612a38d61b7e50a561d7f11e8 (diff)
downloadCMake-666bb0e3fa0d212c03f785bd9f6bc05d29925e1f.zip
CMake-666bb0e3fa0d212c03f785bd9f6bc05d29925e1f.tar.gz
CMake-666bb0e3fa0d212c03f785bd9f6bc05d29925e1f.tar.bz2
Merge topic 'include-what-you-use'
2e620f0b 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