make headers include headers they depend on, don't rely on the c(xx)
file to do that. (This is a requirement for header precompiling.)
This commit is contained in:
parent
c0c9d51c09
commit
2b2b4fa8a3
6 changed files with 18 additions and 15 deletions
|
@ -39,7 +39,6 @@
|
||||||
#include <Main/globals.hxx>
|
#include <Main/globals.hxx>
|
||||||
#include <Main/fg_props.hxx>
|
#include <Main/fg_props.hxx>
|
||||||
#include <Airports/runways.hxx>
|
#include <Airports/runways.hxx>
|
||||||
#include <simgear/xml/easyxml.hxx>
|
|
||||||
|
|
||||||
#include STL_STRING
|
#include STL_STRING
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -49,9 +48,6 @@ SG_USING_STD(vector);
|
||||||
SG_USING_STD(sort);
|
SG_USING_STD(sort);
|
||||||
SG_USING_STD(random_shuffle);
|
SG_USING_STD(random_shuffle);
|
||||||
|
|
||||||
#include "parking.hxx"
|
|
||||||
#include "groundnetwork.hxx"
|
|
||||||
#include "runwayprefs.hxx"
|
|
||||||
#include "dynamics.hxx"
|
#include "dynamics.hxx"
|
||||||
|
|
||||||
/********** FGAirport Dynamics *********************************************/
|
/********** FGAirport Dynamics *********************************************/
|
||||||
|
|
|
@ -27,6 +27,11 @@
|
||||||
# error This library requires C++
|
# error This library requires C++
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <simgear/xml/easyxml.hxx>
|
||||||
|
|
||||||
|
#include "parking.hxx"
|
||||||
|
#include "groundnetwork.hxx"
|
||||||
|
#include "runwayprefs.hxx"
|
||||||
|
|
||||||
|
|
||||||
class FGAirportDynamics : public XMLVisitor {
|
class FGAirportDynamics : public XMLVisitor {
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include <simgear/compiler.h>
|
|
||||||
|
|
||||||
//#include <plib/sg.h>
|
//#include <plib/sg.h>
|
||||||
//#include <plib/ul.h>
|
//#include <plib/ul.h>
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
#ifndef _GROUNDNETWORK_HXX_
|
#ifndef _GROUNDNETWORK_HXX_
|
||||||
#define _GROUNDNETWORK_HXX_
|
#define _GROUNDNETWORK_HXX_
|
||||||
|
|
||||||
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#include STL_STRING
|
#include STL_STRING
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -29,12 +29,12 @@
|
||||||
# error This library requires C++
|
# error This library requires C++
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#include STL_STRING
|
#include STL_STRING
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SG_USING_STD(string);
|
SG_USING_STD(string);
|
||||||
SG_USING_STD(vector);
|
SG_USING_STD(vector);
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,10 @@
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#include STL_IOSTREAM
|
#include STL_IOSTREAM
|
||||||
|
#include STL_STRING
|
||||||
|
|
||||||
SG_USING_STD(istream);
|
SG_USING_STD(istream);
|
||||||
|
SG_USING_STD(string);
|
||||||
|
|
||||||
class FGPanel;
|
class FGPanel;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue