mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Source: Fix mysterious new IWYU warnings
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cm_sys_stat.h"
|
||||
|
||||
@@ -667,6 +667,10 @@ Modify cmCTestResourceGroupsLexer.cxx:
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#define INITIAL 0
|
||||
|
||||
@@ -26,6 +26,10 @@ Modify cmCTestResourceGroupsLexer.cxx:
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <termios.h>
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
%}
|
||||
|
||||
|
||||
@@ -75,6 +75,10 @@
|
||||
{ include: [ "<ostream>", public, "\"cmsys/FStream.hxx\"", public ] },
|
||||
{ include: [ "<fstream>", public, "\"cmsys/FStream.hxx\"", public ] },
|
||||
|
||||
{ symbol: [ "mode_t", private, "\"cm_sys_stat.h\"", public ] },
|
||||
{ symbol: [ "S_IWUSR", private, "\"cm_sys_stat.h\"", public ] },
|
||||
{ symbol: [ "S_IWGRP", private, "\"cm_sys_stat.h\"", public ] },
|
||||
|
||||
{ include: [ "<filesystem>", public, "<cm/filesystem>", public ] },
|
||||
{ include: [ "<optional>", public, "<cm/optional>", public ] },
|
||||
{ include: [ "<shared_mutex>", public, "<cm/shared_mutex>", public ] },
|
||||
|
||||
Reference in New Issue
Block a user