summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 2555deb..1924924 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -115,6 +115,8 @@
#ifdef SIMULATOR
#include "sim_tasks.h"
+#endif
+#ifdef HAVE_SDL
#include "system-sdl.h"
#endif
@@ -313,7 +315,7 @@ static void init_tagcache(void)
}
#endif
-#ifdef SIMULATOR
+#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
static void init(void)
{