diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-11-05 21:40:14 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-08 09:42:04 -0500 |
commit | 2e620f0b3834e5a612a38d61b7e50a561d7f11e8 (patch) | |
tree | da56275afc1e4ec1de87169729c99f62fa1ea4c2 /Source/cmGeneratorExpressionEvaluationFile.h | |
parent | f52bcc2ac1b3dddeca2320d8320a9406101c732d (diff) | |
download | cmake-2e620f0b3834e5a612a38d61b7e50a561d7f11e8.tar.gz |
Fix several include-what-you-use findings
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluationFile.h')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluationFile.h | 13 |
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 |