1
0
Fork 0

Fix JS header include path

This commit is contained in:
James Turner 2018-10-23 11:00:59 +01:00
parent 196aa472fb
commit 00eec40d51
2 changed files with 6 additions and 3 deletions

View file

@ -30,7 +30,8 @@
#include <memory> // for std::unique_ptr #include <memory> // for std::unique_ptr
#include <simgear/structure/subsystem_mgr.hxx> #include <simgear/structure/subsystem_mgr.hxx>
#include <plib/js.h>
#include <js.h>
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
// The Joystick Input Class // The Joystick Input Class

View file

@ -4,10 +4,12 @@
#ifdef HAVE_WINDOWS_H #ifdef HAVE_WINDOWS_H
# include <windows.h> # include <windows.h>
#else
# include <unistd.h> // for usleep
#endif #endif
#include <string.h> // plib/js.h should really include this !!!!!! #include <string.h> // plib/js.h should really include this !!!!!!
#include <plib/js.h> #include <js.h>
#define Z 8 #define Z 8