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/fg_props.hxx>
|
||||
#include <Airports/runways.hxx>
|
||||
#include <simgear/xml/easyxml.hxx>
|
||||
|
||||
#include STL_STRING
|
||||
#include <vector>
|
||||
|
@ -49,9 +48,6 @@ SG_USING_STD(vector);
|
|||
SG_USING_STD(sort);
|
||||
SG_USING_STD(random_shuffle);
|
||||
|
||||
#include "parking.hxx"
|
||||
#include "groundnetwork.hxx"
|
||||
#include "runwayprefs.hxx"
|
||||
#include "dynamics.hxx"
|
||||
|
||||
/********** FGAirport Dynamics *********************************************/
|
||||
|
|
|
@ -23,14 +23,19 @@
|
|||
#define _AIRPORT_DYNAMICS_HXX_
|
||||
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifndef __cplusplus
|
||||
# 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 {
|
||||
|
||||
|
||||
private:
|
||||
double _longitude; // degrees
|
||||
double _latitude; // degrees
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
#include <math.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
//#include <plib/sg.h>
|
||||
//#include <plib/ul.h>
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef _GROUNDNETWORK_HXX_
|
||||
#define _GROUNDNETWORK_HXX_
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include STL_STRING
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -25,16 +25,16 @@
|
|||
#ifndef _PARKING_HXX_
|
||||
#define _PARKING_HXX_
|
||||
|
||||
#ifndef __cplusplus
|
||||
#ifndef __cplusplus
|
||||
# error This library requires C++
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include STL_STRING
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
||||
|
||||
SG_USING_STD(string);
|
||||
SG_USING_STD(vector);
|
||||
|
||||
|
|
|
@ -25,15 +25,17 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include STL_IOSTREAM
|
||||
#include STL_STRING
|
||||
|
||||
SG_USING_STD(istream);
|
||||
SG_USING_STD(string);
|
||||
|
||||
class FGPanel;
|
||||
|
||||
|
|
Loading…
Reference in a new issue