From: Christian Schmitt Date: Thu, 7 Feb 2013 18:00:54 +0000 (+0100) Subject: Some headers missing... ;) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2013f7149d239ad6dccd2fc53fb77c4a0c85e484;p=flightgear.git Some headers missing... ;) --- diff --git a/src/AIModel/AIFlightPlanCreate.cxx b/src/AIModel/AIFlightPlanCreate.cxx index b19099d6f..e9851862a 100644 --- a/src/AIModel/AIFlightPlanCreate.cxx +++ b/src/AIModel/AIFlightPlanCreate.cxx @@ -23,6 +23,7 @@ #endif #include +#include #include "AIFlightPlan.hxx" #include diff --git a/src/AIModel/AIFlightPlanCreatePushBack.cxx b/src/AIModel/AIFlightPlanCreatePushBack.cxx index eeecfe70b..d774f3b51 100644 --- a/src/AIModel/AIFlightPlanCreatePushBack.cxx +++ b/src/AIModel/AIFlightPlanCreatePushBack.cxx @@ -23,6 +23,7 @@ #endif #include +#include #include diff --git a/src/ATC/trafficcontrol.cxx b/src/ATC/trafficcontrol.cxx index 8d5c801fb..f35a02e88 100644 --- a/src/ATC/trafficcontrol.cxx +++ b/src/ATC/trafficcontrol.cxx @@ -25,6 +25,7 @@ #endif #include +#include #include #include diff --git a/src/Aircraft/replay.cxx b/src/Aircraft/replay.cxx index cea3bf263..f483f4f53 100644 --- a/src/Aircraft/replay.cxx +++ b/src/Aircraft/replay.cxx @@ -25,6 +25,7 @@ # include "config.h" #endif +#include #include #include diff --git a/src/Airports/xmlloader.cxx b/src/Airports/xmlloader.cxx index f30e169c7..8ff3eb1fd 100644 --- a/src/Airports/xmlloader.cxx +++ b/src/Airports/xmlloader.cxx @@ -17,6 +17,8 @@ # include "config.h" #endif +#include + #include #include #include diff --git a/src/Autopilot/route_mgr.cxx b/src/Autopilot/route_mgr.cxx index 337f2e9f2..4c41ebe7f 100644 --- a/src/Autopilot/route_mgr.cxx +++ b/src/Autopilot/route_mgr.cxx @@ -31,6 +31,8 @@ #include #endif +#include + #include #include "route_mgr.hxx" diff --git a/src/Cockpit/NavDisplay.cxx b/src/Cockpit/NavDisplay.cxx index 9e9b0524a..26720404a 100644 --- a/src/Cockpit/NavDisplay.cxx +++ b/src/Cockpit/NavDisplay.cxx @@ -46,6 +46,7 @@ #include #include +#include #include #include #include // for cout, endl diff --git a/src/Environment/atmosphere.cxx b/src/Environment/atmosphere.cxx index 022ea540e..d3f8f59e7 100644 --- a/src/Environment/atmosphere.cxx +++ b/src/Environment/atmosphere.cxx @@ -7,6 +7,7 @@ using namespace std; #include +#include const ISA_layer ISA_def[] = { // 0 1 2 3 4 5 6 7 8 diff --git a/src/Environment/fgclouds.cxx b/src/Environment/fgclouds.cxx index b7df4854c..2374cd236 100644 --- a/src/Environment/fgclouds.cxx +++ b/src/Environment/fgclouds.cxx @@ -25,6 +25,7 @@ #endif #include +#include #include
#include diff --git a/src/FDM/YASim/Rotor.cpp b/src/FDM/YASim/Rotor.cpp index 79e5fd128..ab1775af5 100644 --- a/src/FDM/YASim/Rotor.cpp +++ b/src/FDM/YASim/Rotor.cpp @@ -16,9 +16,8 @@ #include #include -#ifdef TEST_DEBUG + #include -#endif #include #include #include diff --git a/src/FDM/YASim/YASim.cxx b/src/FDM/YASim/YASim.cxx index a0f93c2f6..fdd8dbf10 100644 --- a/src/FDM/YASim/YASim.cxx +++ b/src/FDM/YASim/YASim.cxx @@ -4,6 +4,7 @@ #endif #include +#include #include #include diff --git a/src/Input/FGLinuxEventInput.cxx b/src/Input/FGLinuxEventInput.cxx index 4825861da..0d36a5749 100644 --- a/src/Input/FGLinuxEventInput.cxx +++ b/src/Input/FGLinuxEventInput.cxx @@ -23,6 +23,7 @@ #endif #include +#include #include #include #include "FGLinuxEventInput.hxx" diff --git a/src/Instrumentation/KLN89/kln89.cxx b/src/Instrumentation/KLN89/kln89.cxx index 79c96b929..4cb507441 100644 --- a/src/Instrumentation/KLN89/kln89.cxx +++ b/src/Instrumentation/KLN89/kln89.cxx @@ -50,6 +50,8 @@ #include #include +#include + using std::cout; using std::string; diff --git a/src/Instrumentation/KLN89/kln89_page.cxx b/src/Instrumentation/KLN89/kln89_page.cxx index 03a22ee88..24467f138 100644 --- a/src/Instrumentation/KLN89/kln89_page.cxx +++ b/src/Instrumentation/KLN89/kln89_page.cxx @@ -24,6 +24,8 @@ #include "kln89_page.hxx" #include
+#include + using std::string; KLN89Page::KLN89Page(KLN89* parent) { diff --git a/src/Instrumentation/KLN89/kln89_page_alt.cxx b/src/Instrumentation/KLN89/kln89_page_alt.cxx index 685febcdb..0a0317834 100644 --- a/src/Instrumentation/KLN89/kln89_page_alt.cxx +++ b/src/Instrumentation/KLN89/kln89_page_alt.cxx @@ -23,6 +23,8 @@ # include "config.h" #endif +#include + #include "kln89_page_alt.hxx" using std::string; diff --git a/src/Instrumentation/KLN89/kln89_page_apt.cxx b/src/Instrumentation/KLN89/kln89_page_apt.cxx index ae25ca723..c89c0f299 100644 --- a/src/Instrumentation/KLN89/kln89_page_apt.cxx +++ b/src/Instrumentation/KLN89/kln89_page_apt.cxx @@ -29,6 +29,7 @@ #include #include +#include #include #include
diff --git a/src/Instrumentation/KLN89/kln89_page_cal.cxx b/src/Instrumentation/KLN89/kln89_page_cal.cxx index 9b516d920..74b0937e2 100644 --- a/src/Instrumentation/KLN89/kln89_page_cal.cxx +++ b/src/Instrumentation/KLN89/kln89_page_cal.cxx @@ -26,6 +26,7 @@ #endif #include +#include #include
#include "kln89_page_cal.hxx" diff --git a/src/Instrumentation/KLN89/kln89_page_int.cxx b/src/Instrumentation/KLN89/kln89_page_int.cxx index ac3ac25b9..bbd88315f 100644 --- a/src/Instrumentation/KLN89/kln89_page_int.cxx +++ b/src/Instrumentation/KLN89/kln89_page_int.cxx @@ -25,6 +25,8 @@ # include "config.h" #endif +#include + #include "kln89_page_int.hxx" #include #include diff --git a/src/Instrumentation/KLN89/kln89_page_nav.cxx b/src/Instrumentation/KLN89/kln89_page_nav.cxx index 05a79963d..f77f26e3b 100644 --- a/src/Instrumentation/KLN89/kln89_page_nav.cxx +++ b/src/Instrumentation/KLN89/kln89_page_nav.cxx @@ -26,6 +26,7 @@ #endif #include +#include #include "kln89_page_nav.hxx" #include
diff --git a/src/Instrumentation/KLN89/kln89_page_ndb.cxx b/src/Instrumentation/KLN89/kln89_page_ndb.cxx index c621bba51..cecb7d543 100644 --- a/src/Instrumentation/KLN89/kln89_page_ndb.cxx +++ b/src/Instrumentation/KLN89/kln89_page_ndb.cxx @@ -25,6 +25,8 @@ # include "config.h" #endif +#include + #include "kln89_page_ndb.hxx" #include diff --git a/src/Instrumentation/KLN89/kln89_page_oth.cxx b/src/Instrumentation/KLN89/kln89_page_oth.cxx index 2ab41a1d0..d88456add 100644 --- a/src/Instrumentation/KLN89/kln89_page_oth.cxx +++ b/src/Instrumentation/KLN89/kln89_page_oth.cxx @@ -25,6 +25,8 @@ # include "config.h" #endif +#include + #include "kln89_page_oth.hxx" using std::string; diff --git a/src/Instrumentation/KLN89/kln89_page_vor.cxx b/src/Instrumentation/KLN89/kln89_page_vor.cxx index 0c6239c99..a6d2ad222 100644 --- a/src/Instrumentation/KLN89/kln89_page_vor.cxx +++ b/src/Instrumentation/KLN89/kln89_page_vor.cxx @@ -25,6 +25,8 @@ # include "config.h" #endif +#include + #include "kln89_page_vor.hxx" #include diff --git a/src/Instrumentation/clock.cxx b/src/Instrumentation/clock.cxx index 86343cb47..39f6f582f 100644 --- a/src/Instrumentation/clock.cxx +++ b/src/Instrumentation/clock.cxx @@ -9,6 +9,8 @@ # include #endif +#include + #include "clock.hxx" #include #include
diff --git a/src/Instrumentation/gps.cxx b/src/Instrumentation/gps.cxx index 7b9d24c10..3c26a539b 100644 --- a/src/Instrumentation/gps.cxx +++ b/src/Instrumentation/gps.cxx @@ -14,6 +14,7 @@ #include #include #include +#include #include "Main/fg_props.hxx" #include "Main/globals.hxx" // for get_subsystem diff --git a/src/Instrumentation/navradio.cxx b/src/Instrumentation/navradio.cxx index 810bfeb95..cc4acedd8 100644 --- a/src/Instrumentation/navradio.cxx +++ b/src/Instrumentation/navradio.cxx @@ -25,6 +25,7 @@ #include #include +#include #include #include diff --git a/src/Main/metar_main.cxx b/src/Main/metar_main.cxx index b1a39078a..e63e6763f 100644 --- a/src/Main/metar_main.cxx +++ b/src/Main/metar_main.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/src/Network/ATC-Inputs.cxx b/src/Network/ATC-Inputs.cxx index 4c4d0ccee..be59770f8 100644 --- a/src/Network/ATC-Inputs.cxx +++ b/src/Network/ATC-Inputs.cxx @@ -38,6 +38,7 @@ #include #include +#include #include diff --git a/src/Network/ATC-Outputs.cxx b/src/Network/ATC-Outputs.cxx index becc423f1..dd9e32cdd 100644 --- a/src/Network/ATC-Outputs.cxx +++ b/src/Network/ATC-Outputs.cxx @@ -41,6 +41,7 @@ #include #include +#include #include #include diff --git a/src/Network/AV400.cxx b/src/Network/AV400.cxx index e9a62a39f..2915ccf60 100644 --- a/src/Network/AV400.cxx +++ b/src/Network/AV400.cxx @@ -25,6 +25,7 @@ # include "config.h" #endif +#include #include #include diff --git a/src/Network/AV400Sim.cxx b/src/Network/AV400Sim.cxx index f7ad8486d..cbbe2b495 100644 --- a/src/Network/AV400Sim.cxx +++ b/src/Network/AV400Sim.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include diff --git a/src/Network/AV400WSim.cxx b/src/Network/AV400WSim.cxx index 6dd5033d8..025bfddb0 100644 --- a/src/Network/AV400WSim.cxx +++ b/src/Network/AV400WSim.cxx @@ -41,6 +41,8 @@ # include "config.h" #endif +#include + #include #include #include diff --git a/src/Network/atlas.cxx b/src/Network/atlas.cxx index 29c4980fb..d5712f02e 100644 --- a/src/Network/atlas.cxx +++ b/src/Network/atlas.cxx @@ -24,6 +24,7 @@ # include "config.h" #endif +#include #include #include diff --git a/src/Network/garmin.cxx b/src/Network/garmin.cxx index 0dddcbf0d..3ae22d2a1 100644 --- a/src/Network/garmin.cxx +++ b/src/Network/garmin.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/src/Network/generic.cxx b/src/Network/generic.cxx index 43dc92a72..1ee76c33c 100644 --- a/src/Network/generic.cxx +++ b/src/Network/generic.cxx @@ -26,6 +26,7 @@ #include // strstr() #include // strtod(), atoi() +#include #include #include diff --git a/src/Network/httpd.cxx b/src/Network/httpd.cxx index 206b553d6..dca4c79bf 100644 --- a/src/Network/httpd.cxx +++ b/src/Network/httpd.cxx @@ -31,6 +31,7 @@ #include // sort() #include // atoi() atof() #include +#include #include #include diff --git a/src/Network/nmea.cxx b/src/Network/nmea.cxx index a5af33b54..28b92c547 100644 --- a/src/Network/nmea.cxx +++ b/src/Network/nmea.cxx @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/utils/GPSsmooth/UGear_telnet.cxx b/utils/GPSsmooth/UGear_telnet.cxx index bee0f851b..d380e0161 100644 --- a/utils/GPSsmooth/UGear_telnet.cxx +++ b/utils/GPSsmooth/UGear_telnet.cxx @@ -27,6 +27,7 @@ #include #include +#include #include #include "UGear_command.hxx" diff --git a/utils/fgviewer/fgviewer.cxx b/utils/fgviewer/fgviewer.cxx index 1e96dc46b..8f9ef93ec 100644 --- a/utils/fgviewer/fgviewer.cxx +++ b/utils/fgviewer/fgviewer.cxx @@ -57,8 +57,8 @@ main(int argc, char** argv) // FIXME implement a flightgear similar argument parser into simgear and use this one osg::ArgumentParser arguments(&argc, argv); - logbuf::set_log_classes(SG_ALL); - logbuf::set_log_priority(SG_ALERT); + sglog().set_log_classes(SG_ALL); + sglog().set_log_priority(SG_ALERT); std::string fg_root; if (arguments.read("--fg-root", fg_root)) {