Multithread debugger and emulator with message queues
diff --git a/screen.h b/screen.h
index 9eeddc8..da3dd44 100644
--- a/screen.h
+++ b/screen.h
@@ -2,6 +2,7 @@
#include <stdint.h>
#include <stdbool.h>
+#include <pthread.h>
#ifndef SCREEN_ONLY_SDL
@@ -35,13 +36,7 @@
void free_sdl_screen(sdl_screen_t *scr);
bool sdl_screen(sdl_screen_t *scr, uint8_t *mem, bool dirty);
-#ifndef NO_PTHREAD
-
-#include <pthread.h>
-
extern bool g_screen_thread_halt;
void *screen_thread(uint8_t *mem);
pthread_t start_screen_thread(uint8_t *mem);
-
-#endif