From 71d7f043a8aaed896b5a3ed6c839cf5457871d4b Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 8 Aug 2009 12:43:32 +0000 Subject: [PATCH] Compile under MSVC9 --- src/Input/FGButton.cxx | 6 ++++++ src/Input/FGCommonInput.cxx | 6 ++++++ src/Input/FGDeviceConfigurationMap.cxx | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/src/Input/FGButton.cxx b/src/Input/FGButton.cxx index ee5953aca..cb03aeac4 100644 --- a/src/Input/FGButton.cxx +++ b/src/Input/FGButton.cxx @@ -22,8 +22,14 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "FGButton.hxx" +#include + FGButton::FGButton () : is_repeatable(false), interval_sec(0), diff --git a/src/Input/FGCommonInput.cxx b/src/Input/FGCommonInput.cxx index 513e9a640..20fe0e400 100644 --- a/src/Input/FGCommonInput.cxx +++ b/src/Input/FGCommonInput.cxx @@ -22,10 +22,16 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "FGCommonInput.hxx" #include
#include
+#include + void FGCommonInput::read_bindings (const SGPropertyNode * node, binding_list_t * binding_list, int modifiers, string & module ) { SG_LOG(SG_INPUT, SG_DEBUG, "Reading all bindings"); diff --git a/src/Input/FGDeviceConfigurationMap.cxx b/src/Input/FGDeviceConfigurationMap.cxx index e54860dfe..1cd4f1c4d 100644 --- a/src/Input/FGDeviceConfigurationMap.cxx +++ b/src/Input/FGDeviceConfigurationMap.cxx @@ -22,6 +22,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "FGDeviceConfigurationMap.hxx" #include #include