diff options
Diffstat (limited to 'Source/Core/InputCommon/Src/X11InputBase.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/X11InputBase.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/Src/X11InputBase.cpp b/Source/Core/InputCommon/Src/X11InputBase.cpp index 9cd3edb3b1..6013e2f983 100644 --- a/Source/Core/InputCommon/Src/X11InputBase.cpp +++ b/Source/Core/InputCommon/Src/X11InputBase.cpp @@ -1,7 +1,12 @@ #include "X11InputBase.h" +#include <string.h> +#include <stdio.h> +#include <ctype.h> namespace InputCommon { +#ifdef HAVE_WX +#include <wx/wx.h> // Taken from wxw source code KeySym wxCharCodeWXToX(int id) { @@ -84,7 +89,7 @@ KeySym wxCharCodeWXToX(int id) return keySym; } - +#endif void XKeyToString(unsigned int keycode, char *keyStr) { switch (keycode) { @@ -128,4 +133,4 @@ void XKeyToString(unsigned int keycode, char *keyStr) { sprintf(keyStr, "%c", toupper(keycode)); } } -}
\ No newline at end of file +} |
