diff options
Diffstat (limited to 'firmware/target/hosted/sdl/system-sdl.h')
-rw-r--r-- | firmware/target/hosted/sdl/system-sdl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.h b/firmware/target/hosted/sdl/system-sdl.h index bec01ec81d..9021a12543 100644 --- a/firmware/target/hosted/sdl/system-sdl.h +++ b/firmware/target/hosted/sdl/system-sdl.h | |||
@@ -22,6 +22,8 @@ | |||
22 | #define _SYSTEM_SDL_H_ | 22 | #define _SYSTEM_SDL_H_ |
23 | 23 | ||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include "config.h" | ||
26 | #include "gcc_extensions.h" | ||
25 | 27 | ||
26 | #define HIGHEST_IRQ_LEVEL 1 | 28 | #define HIGHEST_IRQ_LEVEL 1 |
27 | 29 | ||
@@ -45,7 +47,7 @@ void sim_kernel_shutdown(void); | |||
45 | void sys_poweroff(void); | 47 | void sys_poweroff(void); |
46 | void sys_handle_argv(int argc, char *argv[]); | 48 | void sys_handle_argv(int argc, char *argv[]); |
47 | void gui_message_loop(void); | 49 | void gui_message_loop(void); |
48 | void sim_do_exit(void); | 50 | void sim_do_exit(void) NORETURN_ATTR; |
49 | #ifndef HAVE_SDL_THREADS | 51 | #ifndef HAVE_SDL_THREADS |
50 | void wait_for_interrupt(void); | 52 | void wait_for_interrupt(void); |
51 | #endif | 53 | #endif |