X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25c0717a43f93ef3901a1e28762753902569da5b..aba17e091c309d0357b0e485a8ff483c564c8695:/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