From 00ba5a853ee82aeda934afd174da866551e4de70 Mon Sep 17 00:00:00 2001 From: daveluff Date: Wed, 22 Feb 2006 21:04:47 +0000 Subject: [PATCH] Recent SimGear changes seem to require more additions of config.h to FG in order to compile on Cygwin --- src/ATC/AIMgr.cxx | 5 ++++- src/ATC/ATCmgr.cxx | 4 ++++ src/Airports/calc_loc.cxx | 4 ++++ src/Autopilot/xmlauto.cxx | 3 +++ src/FDM/SP/ACMS.cxx | 4 ++++ src/Instrumentation/adf.cxx | 4 ++++ src/Instrumentation/clock.cxx | 3 +++ src/Instrumentation/dme.cxx | 4 ++++ src/Instrumentation/instrument_mgr.cxx | 4 ++++ src/Instrumentation/tacan.cxx | 4 ++++ src/Systems/system_mgr.cxx | 4 ++++ 11 files changed, 42 insertions(+), 1 deletion(-) diff --git a/src/ATC/AIMgr.cxx b/src/ATC/AIMgr.cxx index fb80eb806..34527a79f 100644 --- a/src/ATC/AIMgr.cxx +++ b/src/ATC/AIMgr.cxx @@ -19,10 +19,13 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -#include +#ifdef HAVE_CONFIG_H +# include +#endif #include
#include
+#include #include #include diff --git a/src/ATC/ATCmgr.cxx b/src/ATC/ATCmgr.cxx index 21dee4889..5aee09557 100644 --- a/src/ATC/ATCmgr.cxx +++ b/src/ATC/ATCmgr.cxx @@ -18,6 +18,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/Airports/calc_loc.cxx b/src/Airports/calc_loc.cxx index 2d8bd6801..c94fa3a16 100644 --- a/src/Airports/calc_loc.cxx +++ b/src/Airports/calc_loc.cxx @@ -1,5 +1,9 @@ // Calculate ILS heading +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include diff --git a/src/Autopilot/xmlauto.cxx b/src/Autopilot/xmlauto.cxx index 243cd9568..2de17263e 100644 --- a/src/Autopilot/xmlauto.cxx +++ b/src/Autopilot/xmlauto.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/src/FDM/SP/ACMS.cxx b/src/FDM/SP/ACMS.cxx index 53de88d1f..0a37f5864 100644 --- a/src/FDM/SP/ACMS.cxx +++ b/src/FDM/SP/ACMS.cxx @@ -19,6 +19,10 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include
diff --git a/src/Instrumentation/adf.cxx b/src/Instrumentation/adf.cxx index e5303db01..b6de552c8 100644 --- a/src/Instrumentation/adf.cxx +++ b/src/Instrumentation/adf.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/Instrumentation/clock.cxx b/src/Instrumentation/clock.cxx index 6a584bb58..e5778d538 100644 --- a/src/Instrumentation/clock.cxx +++ b/src/Instrumentation/clock.cxx @@ -5,6 +5,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include "clock.hxx" #include diff --git a/src/Instrumentation/dme.cxx b/src/Instrumentation/dme.cxx index 7915ea5eb..21f05386d 100644 --- a/src/Instrumentation/dme.cxx +++ b/src/Instrumentation/dme.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/Instrumentation/instrument_mgr.cxx b/src/Instrumentation/instrument_mgr.cxx index 212ccc50c..01de836b3 100644 --- a/src/Instrumentation/instrument_mgr.cxx +++ b/src/Instrumentation/instrument_mgr.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/Instrumentation/tacan.cxx b/src/Instrumentation/tacan.cxx index 18baef938..4a6818cc7 100755 --- a/src/Instrumentation/tacan.cxx +++ b/src/Instrumentation/tacan.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/Systems/system_mgr.cxx b/src/Systems/system_mgr.cxx index da2917dae..682293ef6 100644 --- a/src/Systems/system_mgr.cxx +++ b/src/Systems/system_mgr.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include -- 2.39.5