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/FStream.hxx>
#include <algorithm>
#include <list>
#if defined(__HAIKU__)
#include <FindDirectory.h>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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