X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25c0717a43f93ef3901a1e28762753902569da5b..5d2e69e8c0248f7ab18182e2fda4727ecd620712:/src/unix/joystick.cpp diff --git a/src/unix/joystick.cpp b/src/unix/joystick.cpp index 710841201a..2ea86f9a8d 100644 --- a/src/unix/joystick.cpp +++ b/src/unix/joystick.cpp @@ -9,10 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "joystick.h" #endif +// for compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/defs.h" #if wxUSE_JOYSTICK