diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-07-27 21:38:54 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-08-29 14:51:30 (GMT) |
commit | a5f98df778ceba5c04805f5b7d109e2fc26ebfec (patch) | |
tree | aa963651c1307dcda50aaf3d5ce255992393374e /Source | |
parent | 0712e3cfea60e4a3ab88f9d9ff9d4c2f39ce309b (diff) | |
download | CMake-a5f98df778ceba5c04805f5b7d109e2fc26ebfec.zip CMake-a5f98df778ceba5c04805f5b7d109e2fc26ebfec.tar.gz CMake-a5f98df778ceba5c04805f5b7d109e2fc26ebfec.tar.bz2 |
Source: Fix mysterious new IWYU warnings
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cmCPackSTGZGenerator.cxx | 2 | ||||
-rw-r--r-- | Source/LexerParser/cmCTestResourceGroupsLexer.cxx | 4 | ||||
-rw-r--r-- | Source/LexerParser/cmCTestResourceGroupsLexer.in.l | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx index 6ad3755..1248d17 100644 --- a/Source/CPack/cmCPackSTGZGenerator.cxx +++ b/Source/CPack/cmCPackSTGZGenerator.cxx @@ -7,6 +7,8 @@ #include <string> #include <vector> +#include <fcntl.h> + #include "cmsys/FStream.hxx" #include "cm_sys_stat.h" diff --git a/Source/LexerParser/cmCTestResourceGroupsLexer.cxx b/Source/LexerParser/cmCTestResourceGroupsLexer.cxx index 85b379b..f1d351a 100644 --- a/Source/LexerParser/cmCTestResourceGroupsLexer.cxx +++ b/Source/LexerParser/cmCTestResourceGroupsLexer.cxx @@ -667,6 +667,10 @@ Modify cmCTestResourceGroupsLexer.cxx: #include <cstddef> +#ifndef _WIN32 +# include <termios.h> +#endif + /*--------------------------------------------------------------------------*/ #define INITIAL 0 diff --git a/Source/LexerParser/cmCTestResourceGroupsLexer.in.l b/Source/LexerParser/cmCTestResourceGroupsLexer.in.l index 2befa85..ac9cbaf 100644 --- a/Source/LexerParser/cmCTestResourceGroupsLexer.in.l +++ b/Source/LexerParser/cmCTestResourceGroupsLexer.in.l @@ -26,6 +26,10 @@ Modify cmCTestResourceGroupsLexer.cxx: #include <cstddef> +#ifndef _WIN32 +# include <termios.h> +#endif + /*--------------------------------------------------------------------------*/ %} |