summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpressionEvaluationFile.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 21:40:14 +0100
committerBrad King <brad.king@kitware.com>2016-11-08 09:42:04 -0500
commit2e620f0b3834e5a612a38d61b7e50a561d7f11e8 (patch)
treeda56275afc1e4ec1de87169729c99f62fa1ea4c2 /Source/cmGeneratorExpressionEvaluationFile.h
parentf52bcc2ac1b3dddeca2320d8320a9406101c732d (diff)
downloadcmake-2e620f0b3834e5a612a38d61b7e50a561d7f11e8.tar.gz
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 d597270e7a..26135df211 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