diff --git a/src/GUI/AirportList.cxx b/src/GUI/AirportList.cxx index 9e2496c1e..2cdbd58a3 100644 --- a/src/GUI/AirportList.cxx +++ b/src/GUI/AirportList.cxx @@ -1,4 +1,3 @@ -#include <string.h> // strncpy() #include <Main/globals.hxx> #include <Airports/simple.hxx> diff --git a/src/GUI/AirportList.hxx b/src/GUI/AirportList.hxx index 16a8e8522..acac58bad 100644 --- a/src/GUI/AirportList.hxx +++ b/src/GUI/AirportList.hxx @@ -1,11 +1,17 @@ // AirportList.hxx - scrolling list of airports. #ifndef __AIRPORTLIST_HXX +#define __AIRPORTLIST_HXX + +#include <simgear/compiler.h> +#include STL_STRING #include <plib/pu.h> #include "puList.hxx" +SG_USING_STD(string); + class FGAirportList; class AirportList : public puList @@ -28,5 +34,3 @@ class AirportList : public puList }; #endif // __AIRPORTLIST_HXX - -// end of AirportList.hxx diff --git a/src/GUI/menubar.cxx b/src/GUI/menubar.cxx index e37bb4caf..90ffca177 100644 --- a/src/GUI/menubar.cxx +++ b/src/GUI/menubar.cxx @@ -10,7 +10,6 @@ #include <Autopilot/auto_gui.hxx> #include <Input/input.hxx> #include <Main/globals.hxx> -#include <Main/fg_props.hxx> #include "new_gui.hxx" #include "menubar.hxx" diff --git a/src/GUI/menubar.hxx b/src/GUI/menubar.hxx index 4d21903a5..2bcef85f3 100644 --- a/src/GUI/menubar.hxx +++ b/src/GUI/menubar.hxx @@ -8,6 +8,7 @@ #endif #include <simgear/compiler.h> // for SG_USING_STD +#include <Main/fg_props.hxx> #include <plib/pu.h> diff --git a/src/Instrumentation/wxradar.cxx b/src/Instrumentation/wxradar.cxx index 2cb747854..83e8848fb 100644 --- a/src/Instrumentation/wxradar.cxx +++ b/src/Instrumentation/wxradar.cxx @@ -25,7 +25,6 @@ #endif #include <plib/sg.h> -#include <plib/ssg.h> #include <Main/fg_props.hxx> #include <Main/globals.hxx> #include <Cockpit/panel.hxx> diff --git a/src/Instrumentation/wxradar.hxx b/src/Instrumentation/wxradar.hxx index 5fde855a6..b2f7139f8 100644 --- a/src/Instrumentation/wxradar.hxx +++ b/src/Instrumentation/wxradar.hxx @@ -23,6 +23,8 @@ #ifndef _INST_WXRADAR_HXX #define _INST_WXRADAR_HXX +#include <plib/ssg.h> + #include <simgear/props/props.hxx> #include <simgear/structure/subsystem_mgr.hxx> #include <simgear/environment/visual_enviro.hxx>