cmStandardIncludes: Remove list include.

Include it only where used.
This commit is contained in:
Stephen Kelly 2015-01-12 21:17:55 +01:00
parent e848cc5074
commit af65da0aa9
11 changed files with 17 additions and 1 deletions

View File

@ -25,6 +25,7 @@
#include <cmsys/Glob.hxx> #include <cmsys/Glob.hxx>
#include <cmsys/FStream.hxx> #include <cmsys/FStream.hxx>
#include <algorithm> #include <algorithm>
#include <list>
#if defined(__HAIKU__) #if defined(__HAIKU__)
#include <FindDirectory.h> #include <FindDirectory.h>

View File

@ -14,6 +14,8 @@
#include "cmCTestVC.h" #include "cmCTestVC.h"
#include <list>
/** \class cmCTestGlobalVC /** \class cmCTestGlobalVC
* \brief Base class for handling globally-versioned trees * \brief Base class for handling globally-versioned trees
* *

View File

@ -16,6 +16,7 @@
#include "cmSystemTools.h" #include "cmSystemTools.h"
#include <stdlib.h> #include <stdlib.h>
#include <stack> #include <stack>
#include <list>
#include <float.h> #include <float.h>
#include <cmsys/FStream.hxx> #include <cmsys/FStream.hxx>

View File

@ -14,6 +14,8 @@
#include "cmCTestGlobalVC.h" #include "cmCTestGlobalVC.h"
#include <list>
/** \class cmCTestSVN /** \class cmCTestSVN
* \brief Interaction with subversion command-line tool * \brief Interaction with subversion command-line tool
* *

View File

@ -13,6 +13,8 @@
#define cmCommands_h #define cmCommands_h
#include "cmStandardIncludes.h" #include "cmStandardIncludes.h"
#include <list>
class cmCommand; class cmCommand;
/** /**
* Global function to return all compiled in commands. * Global function to return all compiled in commands.

View File

@ -15,6 +15,8 @@
#include "cmCommand.h" #include "cmCommand.h"
#include "cmExpandedCommandArgument.h" #include "cmExpandedCommandArgument.h"
#include <list>
class cmConditionEvaluator class cmConditionEvaluator
{ {
public: public:

View File

@ -14,6 +14,8 @@
#include "cmStandardIncludes.h" #include "cmStandardIncludes.h"
#include <list>
class cmFileLockResult; class cmFileLockResult;
class cmFileLock; class cmFileLock;

View File

@ -38,6 +38,7 @@
#include <cmsys/auto_ptr.hxx> #include <cmsys/auto_ptr.hxx>
#include <stack> #include <stack>
#include <list>
#include <ctype.h> // for isspace #include <ctype.h> // for isspace
#include <assert.h> #include <assert.h>

View File

@ -14,6 +14,8 @@
#ifndef cmQtAutoGenerators_h #ifndef cmQtAutoGenerators_h
#define cmQtAutoGenerators_h #define cmQtAutoGenerators_h
#include <list>
class cmGlobalGenerator; class cmGlobalGenerator;
class cmMakefile; class cmMakefile;

View File

@ -53,7 +53,6 @@
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
#include <map> #include <map>
#include <list>
#include <set> #include <set>
// include the "c" string header // include the "c" string header

View File

@ -103,6 +103,8 @@
#include <sys/stat.h> // struct stat #include <sys/stat.h> // struct stat
#include <list>
static bool cmakeCheckStampFile(const char* stampName); static bool cmakeCheckStampFile(const char* stampName);
static bool cmakeCheckStampList(const char* stampName); static bool cmakeCheckStampList(const char* stampName);