diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-29 19:03:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-29 19:03:44 +0300 |
commit | de9becef10640810435ea7457a40bb2a4461c2fd (patch) | |
tree | 8d968a46aff577441ad55e89f54ff435bd450653 | |
parent | faca5a085d096cad4f92d96ff285f4a90c7d82ba (diff) | |
download | manaplus-de9becef10640810435ea7457a40bb2a4461c2fd.tar.gz manaplus-de9becef10640810435ea7457a40bb2a4461c2fd.tar.bz2 manaplus-de9becef10640810435ea7457a40bb2a4461c2fd.tar.xz manaplus-de9becef10640810435ea7457a40bb2a4461c2fd.zip |
Fix compilation with SDL 2.
-rw-r--r-- | src/gui/sdlinput.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/sdlinput.h b/src/gui/sdlinput.h index b5454b7f7..f64f35134 100644 --- a/src/gui/sdlinput.h +++ b/src/gui/sdlinput.h @@ -84,6 +84,10 @@ #include <SDL_events.h> +#ifdef USE_SDL2 +#include <SDL_keyboard.h> +#endif // USE_SDL2 + #include "input/mouseinput.h" #include <queue> |