git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10260
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef _WX_JOYSTICK_H_BASE_
#define _WX_JOYSTICK_H_BASE_
+#if wxUSE_JOYSTICK
+
#if defined(__WXMSW__)
#include "wx/msw/joystick.h"
#elif defined(__WXMOTIF__)
#include "wx/stubs/joystick.h"
#endif
+#endif // wxUSE_JOYSTICK
+
#endif
// _WX_JOYSTICK_H_BASE_
#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>
#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>