diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-05 14:49:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-05 20:55:14 +0200 |
commit | 87a40552fb9ef7d7f1f62de271864a4a1f372594 (patch) | |
tree | b805c84da3be2d74d99dd9c16369b704f1cf9023 /firmware/target/hosted/sdl | |
parent | 0efa73f0ecfbc9d907220dbbf9a8202dff9dfddf (diff) | |
download | rockbox-87a40552fb9ef7d7f1f62de271864a4a1f372594.tar.gz rockbox-87a40552fb9ef7d7f1f62de271864a4a1f372594.zip |
simulator: Fix sim build for sdl/hosted targets
Change-Id: I39a7be7cf0ace47cd4aba2a01d9450e1ba41cb7b
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 2 |
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 | ||
70 | struct event_queue button_queue; | 71 | struct event_queue button_queue; |
72 | #endif | ||
71 | 73 | ||
72 | static int btn = 0; /* Hopefully keeps track of currently pressed keys... */ | 74 | static int btn = 0; /* Hopefully keeps track of currently pressed keys... */ |
73 | 75 | ||