]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/joystick.cpp
added wxUSE_PALETTE and fixed compilation with it set to 0
[wxWidgets.git] / src / gtk / joystick.cpp
index 9994f9a66706398e713a9a0a383ace1ee992b46f..334fefee346e035945f8cb4cfedabed9bf1bc994 100644 (file)
 #pragma implementation "joystick.h"
 #endif
 
-#include <wx/joystick.h>
+#include "wx/defs.h"
 
 #if wxUSE_JOYSTICK
 
+#include "wx/joystick.h"
+
 #include <linux/joystick.h>
 #include <sys/types.h>
 #include <sys/stat.h>