Since there was no #include before the #if wxUSE_JOYSTICK then nothing

would ever be compiled in this module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-05-20 01:21:12 +00:00
parent ac346f5046
commit 2b510feb17
2 changed files with 8 additions and 2 deletions

View File

@@ -12,6 +12,9 @@
#ifdef __GNUG__
#pragma implementation "joystick.h"
#endif
#include <wx/joystick.h>
#if wxUSE_JOYSTICK
#include <linux/joystick.h>
@@ -21,9 +24,9 @@
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include "wx/event.h"
#include "wx/window.h"
#include "wx/gtk/joystick.h"
#define JOYSTICK_AXE_MAX 32767
#define JOYSTICK_AXE_MIN -32767