From 00eec40d5181c034307330f26fb4b3527351d93e Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 23 Oct 2018 11:00:59 +0100 Subject: [PATCH] Fix JS header include path --- src/Input/FGJoystickInput.hxx | 3 ++- src/Input/js_demo.cxx | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Input/FGJoystickInput.hxx b/src/Input/FGJoystickInput.hxx index 0c8fb1a54..4a5a761f2 100644 --- a/src/Input/FGJoystickInput.hxx +++ b/src/Input/FGJoystickInput.hxx @@ -30,7 +30,8 @@ #include // for std::unique_ptr #include -#include + +#include //////////////////////////////////////////////////////////////////////// // The Joystick Input Class diff --git a/src/Input/js_demo.cxx b/src/Input/js_demo.cxx index ee2b32e30..3d58375fe 100644 --- a/src/Input/js_demo.cxx +++ b/src/Input/js_demo.cxx @@ -3,11 +3,13 @@ #endif #ifdef HAVE_WINDOWS_H -# include +# include +#else +# include // for usleep #endif #include // plib/js.h should really include this !!!!!! -#include +#include #define Z 8