diff render.h @ 1986:a042e046f7f2

Fix libretro target
author Michael Pavone <pavone@retrodev.com>
date Sat, 16 May 2020 10:36:58 -0700
parents bd70f1e15684
children 193b804c9845
line wrap: on
line diff
--- a/render.h	Sat May 16 10:36:50 2020 -0700
+++ b/render.h	Sat May 16 10:36:58 2020 -0700
@@ -6,6 +6,8 @@
 #ifndef RENDER_H_
 #define RENDER_H_
 
+#include <stdint.h>
+
 #ifndef IS_LIB
 #ifdef USE_FBDEV
 #include "special_keys_evdev.h"
@@ -138,7 +140,9 @@
 void render_video_loop(void);
 uint8_t render_should_release_on_exit(void);
 void render_set_external_sync(uint8_t ext_sync_on);
+#ifndef IS_LIB
 uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data);
+#endif
 
 #endif //RENDER_H_