summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-05 14:49:12 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-05 20:55:14 +0200
commit87a40552fb9ef7d7f1f62de271864a4a1f372594 (patch)
treeb805c84da3be2d74d99dd9c16369b704f1cf9023 /firmware
parent0efa73f0ecfbc9d907220dbbf9a8202dff9dfddf (diff)
downloadrockbox-87a40552fb9ef7d7f1f62de271864a4a1f372594.tar.gz
rockbox-87a40552fb9ef7d7f1f62de271864a4a1f372594.zip
simulator: Fix sim build for sdl/hosted targets
Change-Id: I39a7be7cf0ace47cd4aba2a01d9450e1ba41cb7b
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c
index 2a3202b6bc..8bf813ce16 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -67,7 +67,9 @@ int remote_type(void)
67} 67}
68#endif 68#endif
69 69
70#ifndef SIMULATOR
70struct event_queue button_queue; 71struct event_queue button_queue;
72#endif
71 73
72static int btn = 0; /* Hopefully keeps track of currently pressed keys... */ 74static int btn = 0; /* Hopefully keeps track of currently pressed keys... */
73 75