From 951a3ea6adaf74654d33969bd21c9492e08150ec Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 24 Oct 2018 14:28:58 +0100 Subject: [PATCH] Fix Windows build, missined windows.h --- src/Input/FGJoystickInput.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Input/FGJoystickInput.cxx b/src/Input/FGJoystickInput.cxx index 4074431dc..16a2fdc6d 100644 --- a/src/Input/FGJoystickInput.cxx +++ b/src/Input/FGJoystickInput.cxx @@ -22,12 +22,14 @@ // // $Id$ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include "FGJoystickInput.hxx" +#if defined(SG_WINDOWS) +# include +#endif + #include #include "FGDeviceConfigurationMap.hxx" #include