1
0
Fork 0

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:
mfranz 2006-04-17 13:40:20 +00:00
parent d41e86e0c6
commit 2e7cab820b
6 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,3 @@
#include <string.h> // strncpy()
#include <Main/globals.hxx> #include <Main/globals.hxx>
#include <Airports/simple.hxx> #include <Airports/simple.hxx>

View file

@ -1,11 +1,17 @@
// AirportList.hxx - scrolling list of airports. // AirportList.hxx - scrolling list of airports.
#ifndef __AIRPORTLIST_HXX #ifndef __AIRPORTLIST_HXX
#define __AIRPORTLIST_HXX
#include <simgear/compiler.h>
#include STL_STRING
#include <plib/pu.h> #include <plib/pu.h>
#include "puList.hxx" #include "puList.hxx"
SG_USING_STD(string);
class FGAirportList; class FGAirportList;
class AirportList : public puList class AirportList : public puList
@ -28,5 +34,3 @@ class AirportList : public puList
}; };
#endif // __AIRPORTLIST_HXX #endif // __AIRPORTLIST_HXX
// end of AirportList.hxx

View file

@ -10,7 +10,6 @@
#include <Autopilot/auto_gui.hxx> #include <Autopilot/auto_gui.hxx>
#include <Input/input.hxx> #include <Input/input.hxx>
#include <Main/globals.hxx> #include <Main/globals.hxx>
#include <Main/fg_props.hxx>
#include "new_gui.hxx" #include "new_gui.hxx"
#include "menubar.hxx" #include "menubar.hxx"

View file

@ -8,6 +8,7 @@
#endif #endif
#include <simgear/compiler.h> // for SG_USING_STD #include <simgear/compiler.h> // for SG_USING_STD
#include <Main/fg_props.hxx>
#include <plib/pu.h> #include <plib/pu.h>

View file

@ -25,7 +25,6 @@
#endif #endif
#include <plib/sg.h> #include <plib/sg.h>
#include <plib/ssg.h>
#include <Main/fg_props.hxx> #include <Main/fg_props.hxx>
#include <Main/globals.hxx> #include <Main/globals.hxx>
#include <Cockpit/panel.hxx> #include <Cockpit/panel.hxx>

View file

@ -23,6 +23,8 @@
#ifndef _INST_WXRADAR_HXX #ifndef _INST_WXRADAR_HXX
#define _INST_WXRADAR_HXX #define _INST_WXRADAR_HXX
#include <plib/ssg.h>
#include <simgear/props/props.hxx> #include <simgear/props/props.hxx>
#include <simgear/structure/subsystem_mgr.hxx> #include <simgear/structure/subsystem_mgr.hxx>
#include <simgear/environment/visual_enviro.hxx> #include <simgear/environment/visual_enviro.hxx>