]> git.mxchange.org Git - flightgear.git/commitdiff
Make various implicit includes (via PLIB) explicit.
authorJames Turner <zakalawe@mac.com>
Tue, 27 Jul 2010 07:31:10 +0000 (08:31 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 28 Jul 2010 09:25:42 +0000 (10:25 +0100)
26 files changed:
src/AIModel/AIManager.cxx
src/ATCDCL/transmission.cxx
src/Airports/runwayprefs.cxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_mgr.cxx
src/Environment/fgclouds.cxx
src/FDM/ExternalPipe/ExternalPipe.cxx
src/FDM/SP/ADA.cxx
src/FDM/UIUCModel/uiuc_wrapper.cpp
src/Instrumentation/gps.cxx
src/Instrumentation/gps.hxx
src/Instrumentation/navradio.cxx
src/Main/metar_main.cxx
src/Main/viewer.cxx
src/Model/modelmgr.cxx
src/Network/AV400.cxx
src/Network/AV400Sim.cxx
src/Network/atlas.cxx
src/Network/garmin.cxx
src/Network/nmea.cxx
src/Sound/beacon.cxx
src/Sound/morse.cxx
src/Systems/electrical.cxx
src/Systems/vacuum.cxx
src/Time/sunsolver.cxx
utils/GPSsmooth/UGear.cxx

index afffdc81785ff4246fe469e4ba4ddbf3e4102b76..315920ab5ce15cb58a8b3a565fcb438d4562cc82 100644 (file)
@@ -18,6 +18,8 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+#include <cstring>
+
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/props/props_io.hxx>
 #include <simgear/structure/exception.hxx>
index 9f77af9393fe67359919a8d7a37ac2dbea6fbc8d..5c1d01572229ceed9c3a3d472e766edf3813bb02 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "transmission.hxx"
 
+#include <cstring>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/sg_path.hxx>
 
index 8337d31f9fad3e60c7c8ea5430536fa4fe8bed47..b47c6bc778b12914206b7a575cf302c2559b9536 100644 (file)
@@ -26,6 +26,7 @@
 #endif
 
 #include <math.h>
+#include <cstring>
 
 #include <simgear/compiler.h>
 
index ac870e5e2a377c17d119fe968c7327260ef39f14..74f1d82ea9275f15de2e80d4a2be999ed826e47f 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include <algorithm>
+#include <cstring>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/structure/commands.hxx>
index fa23149ec54b0c7b2dfd6ddde3e7ec4f53326e35..944948f7dc84ac0d014ec7cf70218682d0d7fed1 100644 (file)
@@ -24,6 +24,8 @@
 #  include <config.h>
 #endif
 
+#include <cstring>
+
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/scene/sky/sky.hxx>
index f58d324f407e373620a0e7a2a3368606ee195377..208fa402b587bea74808edcb195cb1ad78c09a30 100644 (file)
@@ -24,6 +24,7 @@
 #  include "config.h"
 #endif
 
+#include <cstring>
 #include <Main/fg_props.hxx>
 
 #include <simgear/constants.h>
index f3c7f291276383a10e2de8126276b2712f82edd8..abe6569601a4a98b81d943647a23eeff558c398d 100644 (file)
@@ -31,6 +31,7 @@
 #  include <unistd.h>           // unlink()
 #endif
 
+#include <cstring>
 #include <stdio.h>              // FILE*, fopen(), fread(), fwrite(), et. al.
 #include <iostream>             // for cout, endl
 
index 123856be010da367d8e32833e3a44aa22e2bc18a..7585b428afb15bd690f9ed2185092c6e2922eb1d 100644 (file)
@@ -22,6 +22,8 @@
 #  include <config.h>
 #endif
 
+#include <cstring>
+
 #include <simgear/io/iochannel.hxx>
 #include <simgear/io/sg_socket.hxx>
 #include <simgear/constants.h>
index 79bbe74c388cc91599ce249d2ed38df08319167c..47897560e644e1d9e919b437116e4b4c866dc62b 100644 (file)
@@ -83,6 +83,7 @@
 #endif
 
 #include <iostream>
+#include <cstring>
 
 #include <simgear/compiler.h>
 #include <simgear/misc/sg_path.hxx>
index 4b522dfce05a82484045cc69c38982b32967cd3c..afee154f3f5815dcd0a752e448e2442284ccaab8 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <memory>
 #include <set>
+#include <cstring>
 
 #include "Main/fg_props.hxx"
 #include "Main/globals.hxx" // for get_subsystem
index f1a1b43967ffc7659cd50ae3376dea7100ac80c0..cbdca3bc49b76bd08b0140136afb8277316eea9c 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __INSTRUMENTS_GPS_HXX
 #define __INSTRUMENTS_GPS_HXX 1
 
+#include <cassert>
+
 #include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/math/SGMath.hxx>
index f8cc3bebb70f116e2e30072c1215d292d9a3f51c..d1007627879e77a65f539b8f3c266914abebbcac 100644 (file)
@@ -28,6 +28,7 @@
 #include "navradio.hxx"
 
 #include <sstream>
+#include <cstring>
 
 #include <simgear/sg_inlines.h>
 #include <simgear/timing/sg_time.hxx>
index d150b65267097f027dce01302e0db4d10a01f766..04edbcab15b5cfa4c060c929f5c4a4fe8eeaee28 100644 (file)
@@ -25,6 +25,7 @@
 #include <iostream>
 #include <string.h>
 #include <time.h>
+#include <cstdlib>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/environment/metar.hxx>
index d7b51d859cbf3bbdc7d709d7772fd7201bf9a4f3..ab5f6aa44c99b977e1578e116464241f59e9eec2 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include <simgear/compiler.h>
+#include <cassert>
 
 #include "fg_props.hxx"
 
index 600086d29e9d77ece1819bc319f6e8f6fac1fa87..3478a68c5c9bf973a7fe8195c1abe64ad43ae5e2 100644 (file)
@@ -16,6 +16,7 @@
 #include <algorithm>
 #include <functional>
 #include <vector>
+#include <cstring>
 
 #include <osg/Math>
 
index 4b3f368aaf4c602cca2c234c9925c3939c8b198b..bed03b48bd04dc00e20c413b486c7325e23bf353 100644 (file)
@@ -25,6 +25,8 @@
 #  include "config.h"
 #endif
 
+#include <cstring>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/io/iochannel.hxx>
index 3a9fcdf288583bafca961bbbdf83e54ac39fba27..894dcbef8e1cd1a9401547fd3b42a53069207ebe 100644 (file)
@@ -29,6 +29,8 @@
 #  include "config.h"
 #endif
 
+#include <cstring>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/io/iochannel.hxx>
index f1c940c969d61e8e4fd6069b70b7fd08f4e1f89d..4a2cd9d64911be983546731be43460db784e7d11 100644 (file)
@@ -24,6 +24,8 @@
 #  include "config.h"
 #endif
 
+#include <cstring>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/io/iochannel.hxx>
index 0bf751bcd5aaf0067f9cf21d26e92a29809439f0..e6bc2dcd7cfe9411b4058ac92286fb7d7d0d014e 100644 (file)
@@ -25,6 +25,7 @@
 #endif
 
 #include <iostream>
+#include <cstring>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
index b9d4eb1a4d75dbdfc9f9327cbc4cdb019db944cb..bbfd3fc0dc5b7ef1c07f481c6d251d115fb1b8b3 100644 (file)
@@ -24,6 +24,8 @@
 #  include "config.h"
 #endif
 
+#include <cstring>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
 #include <simgear/io/iochannel.hxx>
index 4505017c93da03183788ebd3b2dbbf60b44b96b4..f722891892b7012bf3a230e8bcef0476fbba0a0b 100644 (file)
@@ -22,6 +22,7 @@
 
 
 #include <stdlib.h>
+#include <cstring>
 
 #include "beacon.hxx"
 
index df6c969face529f7572d3e55f9f15c59af5b3f7a..31949144c81e7f9db587f04f3bd2f2b0535465bd 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "morse.hxx"
 
+#include <cstring>
 
 static const char alphabet[26][4] = {
     { DI, DAH, end, end },     /* A */ 
index 103456a485b899ecb1f6f3ddb21ebb14a69798e1..18e80222faf586a4ac9af8d54cbf9502378e3fb7 100644 (file)
@@ -24,6 +24,8 @@
 #  include <config.h>
 #endif
 
+#include <cstring>
+
 #include <simgear/structure/exception.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/debug/logstream.hxx>
index 9303073b27089a6adb46b4562338e82ec16a94d2..a776d9a493d246a36561c57356a784fb1775fdc5 100644 (file)
@@ -8,6 +8,9 @@
 #endif
 
 #include "vacuum.hxx"
+
+#include <cstring>
+
 #include <Main/fg_props.hxx>
 
 
index cdb53a6bfe43d99539d7d9ffa565fbdce7e5f9f5..2275f99024c647ded6132a50db93b67d9e6a991d 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <cmath>
 #include <ctime>
+#include <cassert>
 
 #include <simgear/math/SGMath.hxx>
 #include <simgear/timing/sg_time.hxx>
index 95781f87625e54a144621ee44df3a2d167221167..2a570e1e9070a9ea8c659463fffc0053f67223d3 100644 (file)
@@ -3,6 +3,7 @@
 #endif 
 
 #include <iostream>
+#include <cstdio>
 
 #include <simgear/constants.h>
 #include <simgear/io/sg_file.hxx>