]> git.mxchange.org Git - flightgear.git/commitdiff
Cygwin fixes.
authorehofman <ehofman>
Wed, 4 Jan 2006 12:49:07 +0000 (12:49 +0000)
committerehofman <ehofman>
Wed, 4 Jan 2006 12:49:07 +0000 (12:49 +0000)
38 files changed:
src/FDM/JSBSim/FGAerodynamics.cpp
src/FDM/JSBSim/FGAircraft.cpp
src/FDM/JSBSim/FGCoefficient.cpp
src/FDM/JSBSim/FGColumnVector3.cpp
src/FDM/JSBSim/FGConfigFile.cpp
src/FDM/JSBSim/FGElectric.cpp
src/FDM/JSBSim/FGEngine.cpp
src/FDM/JSBSim/FGFCS.cpp
src/FDM/JSBSim/FGFDMExec.cpp
src/FDM/JSBSim/FGFactorGroup.cpp
src/FDM/JSBSim/FGGroundCallback.cpp
src/FDM/JSBSim/FGGroundReactions.cpp
src/FDM/JSBSim/FGInertial.cpp
src/FDM/JSBSim/FGMatrix33.cpp
src/FDM/JSBSim/FGNozzle.cpp
src/FDM/JSBSim/FGPiston.cpp
src/FDM/JSBSim/FGPropagate.cpp
src/FDM/JSBSim/FGPropeller.cpp
src/FDM/JSBSim/FGPropulsion.cpp
src/FDM/JSBSim/FGQuaternion.cpp
src/FDM/JSBSim/FGRocket.cpp
src/FDM/JSBSim/FGRotor.cpp
src/FDM/JSBSim/FGScript.cpp
src/FDM/JSBSim/FGState.cpp
src/FDM/JSBSim/FGTable.cpp
src/FDM/JSBSim/FGThruster.cpp
src/FDM/JSBSim/FGTrimAxis.cpp
src/FDM/JSBSim/FGTurbine.cpp
src/FDM/JSBSim/FGfdmSocket.cpp
src/FDM/JSBSim/filtersjb/FGCondition.cpp
src/FDM/JSBSim/filtersjb/FGDeadBand.cpp
src/FDM/JSBSim/filtersjb/FGFCSComponent.cpp
src/FDM/JSBSim/filtersjb/FGFilter.cpp
src/FDM/JSBSim/filtersjb/FGGain.cpp
src/FDM/JSBSim/filtersjb/FGGradient.cpp
src/FDM/JSBSim/filtersjb/FGKinemat.cpp
src/FDM/JSBSim/filtersjb/FGSummer.cpp
src/FDM/JSBSim/filtersjb/FGSwitch.cpp

index b052fe9230229825d0fd479e79a6255c01961b71..209d864ce35ba912f271ce1a9b472bb69524ac05 100644 (file)
@@ -36,6 +36,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGAerodynamics.h"
 #include "FGPropagate.h"
 #include "FGAircraft.h"
index 152dca6d9e35646cfcaabf79842a9c1b1615c2b9..23caea68f129e25f899b0ec60addcbc1e23e1e86 100644 (file)
@@ -48,6 +48,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sys/stat.h>
 #include <sys/types.h>
 
index c003edd3d3be3b1f81465a3d7a16faef65d069ec..1e2aab5e8a941b8e96e719b803d666139ceb510e 100644 (file)
@@ -44,6 +44,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include "FGCoefficient.h"
index a52cc6e1052a6918eab1b8ca3b116f6e2a59fddd..8cdfd64a6c263f15e00811b59f089e550e0ff805 100644 (file)
@@ -18,6 +18,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGColumnVector3.h"
 #include <cstdio>
 
index f994aba06c8549061514569f5c20ade262c274b1..4502e51e32a2c418921422f4b7979bd09540326e 100644 (file)
@@ -17,6 +17,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGConfigFile.h"
 #include <stdlib.h>
 #include <math.h>
index c62c5e328e3cb245c9685744bcafe4f96da19998..0f995b8aff2300cb9dbf163c988cc426d7d371ee 100644 (file)
@@ -38,6 +38,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGElectric.h"
 #include "FGPropulsion.h"
 
index f0153d998e0cb61fde8fc3337738bdf155cac20a..ea7edca07093d5be125480d18112e2af7f421805 100644 (file)
@@ -38,6 +38,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <simgear/compiler.h>
 #  ifdef SG_HAVE_STD_INCLUDES
index 4405ad559d04dfddcf782c8d7c58dbb6c26946c5..29fd534f32b247a60bad5182c383fb21a30d025d 100644 (file)
@@ -37,6 +37,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGFCS.h"
 #include "FGFDMExec.h"
 #include "FGPropertyManager.h"
index 2110fb0d9559006bbc2933875c7568e1de163b5d..ab37dac38e85e7ad9b76ec32644b1227fa1347f4 100644 (file)
@@ -41,6 +41,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <simgear/compiler.h>
 #  include STL_IOSTREAM
index dce8f32dc08324be803f79d1b331e6400933b623..e39d3a5d3b1b73a07f814a5e0a4dda8b82204564 100644 (file)
@@ -45,6 +45,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGCoefficient.h"
 #include "FGFactorGroup.h"
 #include "FGState.h"
index 59430150f2fd3fd5f7464dcd6093e07df2ecac12..1daf1b9de223f87b59800c919714dbcdca8454f6 100644 (file)
@@ -31,6 +31,10 @@ HISTORY
 SENTRY
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "FGColumnVector3.h"
 #include "FGLocation.h"
 #include "FGGroundCallback.h"
index a075a1c2c267c1d9c633ce3dc44551c70385d556..a4852dc508848937a11744f4264f3aa9bcf3deb4 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 #include <iomanip>
 
index d75854a51545298e37ee3df09306e79e2458e4dd..e1cbe950139c6e167f84cda54a9afca7401a3976 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGInertial.h"
 #include "FGPropagate.h"
 #include "FGState.h"
index 0d42129f17c849d6ff8de3fd5ec2a0ebfefd5f76..5027f4c7399284430cf9ee158201bf4c04f68740 100644 (file)
@@ -18,6 +18,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGMatrix33.h"
 #include "FGColumnVector3.h"
 
index c159c12a78acd23bf7e6b6515883a4c79efe5e67..fa047037f45e10e2376a0e97fc49de4ec803c48c 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 
 #include "FGNozzle.h"
index 21a619778416269a62078ddee2d5076538051c0d..9c7530ea644213e164186e73757fed975acdc1b3 100644 (file)
@@ -39,6 +39,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 
 #include "FGPiston.h"
index 5c5132f2e39214b84972cf71c8d552655f854fb3..4d5d67767583ebb7dd26a2a5087c31dd356ad623 100644 (file)
@@ -53,6 +53,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <simgear/compiler.h>
 #  ifdef SG_HAVE_STD_INCLUDES
index d205a3a621900d3f561de6c76624cf7c1bb6c813..6ef0f53a1404806f7abfc07cc01d16921a972d27 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 
 #include "FGPropeller.h"
index 11443f7cfc111dec6ec08c6aa27678e27d01ae03..19d7e9acaf3306368bcc53fb60f85a59383c2d3e 100644 (file)
@@ -44,6 +44,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGPropulsion.h"
 #include "FGRocket.h"
 #include "FGTurbine.h"
index 55edcf88ef81a0f499ca27feb5830a09f8c8d3da..bc32c81374213e10f3044effd0cf29d285f642f6 100644 (file)
@@ -38,6 +38,10 @@ SENTRY
   INCLUDES
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <math.h>
 #  include <simgear/compiler.h>
index c7131f341071861055b51f89ee1623524523e9dc..e278cca936a54b27a62cd78ca6ed4250fb3210fc 100644 (file)
@@ -38,6 +38,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 
 #include "FGRocket.h"
index b1efdde7653daa78d365c6e7a25747ef0b5e6501..58fee45728aab5727ba8524df837aea7e819c228 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGRotor.h"
 
 namespace JSBSim {
index 8634b2ebb0a0259fdc8708d7099a2548f284d03c..4fe946df7309821006b8f3820c27e97c902b785e 100644 (file)
@@ -41,6 +41,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <simgear/compiler.h>
 #  include STL_IOSTREAM
index 1802205b30db0a4f6fb71a548f732afcc01d61c0..1f581b96af525b8190194cbcb1abb9cad3e4b7fb 100644 (file)
@@ -36,6 +36,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #ifdef FGFS
 #  include <simgear/compiler.h>
 #  include <math.h>
index f54418f2044d074bc5a0de2f285d72fa99abf028..b2b869d8ff2a1e65426d1f78411c1860d3646b8b 100644 (file)
@@ -36,6 +36,10 @@ JSB  1/9/00          Created
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGTable.h"
 
 #if defined ( sgi ) && !defined( __GNUC__ ) && (_COMPILER_VERSION < 740)
index 4d4a4edcb9331a7af68ac51d59ef09a57e5c09a6..24904aa20857317071b6ef87ae8a60194e5f1707 100644 (file)
@@ -35,6 +35,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <sstream>
 
 #include "FGThruster.h"
index 365947f0469cd18c24daa7d1634d4d64546b60a8..7dd968228c824056796856808fac8eb97178dc2d 100644 (file)
@@ -36,6 +36,10 @@ INCLUDES
 #  pragma warning (disable : 4786)
 #endif
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <string>
 #include <stdlib.h>
 
index d43031b38252f26c9e64c9b2d07439f10f57273a..03c6a35873531eeadb8b1c78cd6f0e3d4b066168 100644 (file)
@@ -39,6 +39,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <vector>
 #include <sstream>
 
index b63b65abc6a38c161e7e380c6d65322f429132b1..c6672a7498d73548295bb6ee2e182bcda74c4986 100644 (file)
@@ -37,6 +37,10 @@ HISTORY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGfdmSocket.h"
 
 namespace JSBSim {
index af7510b064e3f86f2f1c212ac0a7bfc206404d65..e3c527171c1ca040bfbc7e054c053ba4e8be6137 100644 (file)
@@ -34,6 +34,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGCondition.h"
 
 namespace JSBSim {
index 5776c13c382142bf6f531dc0f9255d3798412c5e..0158ecd3fb5ea827151a35920527a3b658a103da 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGDeadBand.h"
 
 namespace JSBSim {
index 41bb1ac3918926c787243fc210d46788306c4474..4833a645ccb71426086f91f3969fcc7155f578eb 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGFCSComponent.h"
 
 namespace JSBSim {
index 3ecf6523ddb75911e67da0647342acc6edcb8ca0..e1a143bd032b34fc104fa883f46a5acce01ab246 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGFilter.h"
 
 namespace JSBSim {
index 7417c9395cbf957192d6a71e964a14384ad527cd..79b8611a54d186c7f64adab6f54a264662226b56 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGGain.h"
 
 namespace JSBSim {
index 270ea27467069a7c4dced82d62c6d2ce96b3a9e2..359a9edb8384044ed287cef9cd7e6948154d9e73 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGGradient.h"
 
 namespace JSBSim {
index e711595744b46ecc079c89071f4468ca47f52aa3..c9b9f460e8cfe085ddd463482aa7744977f8328f 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <math.h>
 #include <float.h>
 
index efd2c8f10fe2b5a347cd68ba0cdb8ee0d2698ac3..68b8fa66a0d4b476310176b625769a64f4a1337a 100644 (file)
@@ -37,6 +37,10 @@ COMMENTS, REFERENCES,  and NOTES
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGSummer.h"
 
 namespace JSBSim {
index b60f0cc823fb706d36e4e007631a47b179b9475a..ca5058de515101b7af0c88437c977174d8f2c238 100644 (file)
@@ -58,6 +58,10 @@ Also, see the header file (FGSwitch.h) for further details.
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include "FGSwitch.h"
 
 namespace JSBSim {