summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/events')
-rw-r--r--src/events/keyevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index d7b5b71b0..71897e1da 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -72,7 +72,9 @@
#include "input/key.h"
+#ifdef USE_SDL2
#include <string>
+#endif
class Widget;