From 6c52a5ac855e24295471285d1de05eee4502535c Mon Sep 17 00:00:00 2001 From: James Turner Date: Sat, 30 Jul 2011 10:47:28 +0100 Subject: [PATCH] Fixes for include-file flattening - condition.hxx no longer pulls in props or props_io --- src/Autopilot/autopilotgroup.cxx | 1 + src/Autopilot/component.cxx | 1 + src/Autopilot/component.hxx | 2 +- src/Autopilot/digitalcomponent.hxx | 3 +++ src/Cockpit/panel_io.cxx | 1 + src/GUI/MapWidget.hxx | 1 + src/GUI/dialog.cxx | 2 ++ src/GUI/gui_funcs.cxx | 1 + src/GUI/menubar.cxx | 1 + src/Input/FGEventInput.cxx | 1 + src/Input/FGJoystickInput.cxx | 2 ++ src/Instrumentation/HUD/HUD.cxx | 1 + src/Instrumentation/instrument_mgr.cxx | 1 + src/Main/fg_commands.cxx | 1 + src/Main/fg_init.cxx | 1 + src/Main/globals.cxx | 1 + src/Sound/fg_fx.cxx | 1 + utils/fgpanel/panel.hxx | 1 + utils/fgpanel/panel_io.cxx | 1 + 19 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/Autopilot/autopilotgroup.cxx b/src/Autopilot/autopilotgroup.cxx index cf06bb4b4..e58cd8fd7 100644 --- a/src/Autopilot/autopilotgroup.cxx +++ b/src/Autopilot/autopilotgroup.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include #include
diff --git a/src/Autopilot/component.cxx b/src/Autopilot/component.cxx index bdf6ecc21..63ee6262a 100644 --- a/src/Autopilot/component.cxx +++ b/src/Autopilot/component.cxx @@ -23,6 +23,7 @@ #include "component.hxx" #include
#include +#include using namespace FGXMLAutopilot; diff --git a/src/Autopilot/component.hxx b/src/Autopilot/component.hxx index 3f8d60352..cf8634a4a 100644 --- a/src/Autopilot/component.hxx +++ b/src/Autopilot/component.hxx @@ -28,7 +28,7 @@ #endif #include -#include +#include namespace FGXMLAutopilot { diff --git a/src/Autopilot/digitalcomponent.hxx b/src/Autopilot/digitalcomponent.hxx index 606dd5f8b..afff879ba 100644 --- a/src/Autopilot/digitalcomponent.hxx +++ b/src/Autopilot/digitalcomponent.hxx @@ -25,6 +25,9 @@ #include "component.hxx" +#include +#include + namespace FGXMLAutopilot { /** diff --git a/src/Cockpit/panel_io.cxx b/src/Cockpit/panel_io.cxx index ecd6efd89..754afb30e 100644 --- a/src/Cockpit/panel_io.cxx +++ b/src/Cockpit/panel_io.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/src/GUI/MapWidget.hxx b/src/GUI/MapWidget.hxx index ce9333e32..934198603 100644 --- a/src/GUI/MapWidget.hxx +++ b/src/GUI/MapWidget.hxx @@ -1,6 +1,7 @@ #ifndef GUI_MAPWIDGET_HXX #define GUI_MAPWIDGET_HXX +#include #include #include #include diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 71d6d7279..364cf5d13 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -5,6 +5,8 @@ #endif #include +#include + #include #include
diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index 06459a8f6..57adcc26e 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -43,6 +43,7 @@ #include #include #include +#include #include #include
diff --git a/src/GUI/menubar.cxx b/src/GUI/menubar.cxx index 5675b14e4..39d4d53aa 100644 --- a/src/GUI/menubar.cxx +++ b/src/GUI/menubar.cxx @@ -7,6 +7,7 @@ #include #include #include +#include #include
diff --git a/src/Input/FGEventInput.cxx b/src/Input/FGEventInput.cxx index 8bf9f304e..7e8c98944 100644 --- a/src/Input/FGEventInput.cxx +++ b/src/Input/FGEventInput.cxx @@ -28,6 +28,7 @@ #include "FGEventInput.hxx" #include
#include +#include #include using simgear::PropertyList; diff --git a/src/Input/FGJoystickInput.cxx b/src/Input/FGJoystickInput.cxx index 0d0a86ce9..456747647 100644 --- a/src/Input/FGJoystickInput.cxx +++ b/src/Input/FGJoystickInput.cxx @@ -23,6 +23,8 @@ // $Id$ #include "FGJoystickInput.hxx" + +#include #include "FGDeviceConfigurationMap.hxx" #include
#include diff --git a/src/Instrumentation/HUD/HUD.cxx b/src/Instrumentation/HUD/HUD.cxx index 6d9e0bd90..d886bc76e 100644 --- a/src/Instrumentation/HUD/HUD.cxx +++ b/src/Instrumentation/HUD/HUD.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include
diff --git a/src/Instrumentation/instrument_mgr.cxx b/src/Instrumentation/instrument_mgr.cxx index 58fe89db1..67dfd7623 100644 --- a/src/Instrumentation/instrument_mgr.cxx +++ b/src/Instrumentation/instrument_mgr.cxx @@ -14,6 +14,7 @@ #include #include #include +#include #include
#include
diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index ef2824089..ee56f9ad8 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 52a88efdf..c28c9d98e 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -60,6 +60,7 @@ #include #include #include +#include #include #include diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index 91af653c0..99f1709da 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -36,6 +36,7 @@ #include #include #include +#include #include #include diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index f60f44114..2953bfe67 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -34,6 +34,7 @@ #include
#include +#include #include #include #include diff --git a/utils/fgpanel/panel.hxx b/utils/fgpanel/panel.hxx index 44ce96a05..6d2962966 100644 --- a/utils/fgpanel/panel.hxx +++ b/utils/fgpanel/panel.hxx @@ -33,6 +33,7 @@ #include +#include #include #include #include diff --git a/utils/fgpanel/panel_io.cxx b/utils/fgpanel/panel_io.cxx index d0bd6b358..1971d5799 100644 --- a/utils/fgpanel/panel_io.cxx +++ b/utils/fgpanel/panel_io.cxx @@ -35,6 +35,7 @@ #include #include #include +#include #include "panel.hxx" #include "panel_io.hxx"