Browse Source

RISCOS: attempt to fix compilation ERANGE

Sylvain 3 năm trước cách đây
mục cha
commit
df0d696a62
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/thread/pthread/SDL_systhread.c

+ 4 - 0
src/thread/pthread/SDL_systhread.c

@@ -41,6 +41,10 @@
 #include "../../core/linux/SDL_dbus.h"
 #endif /* __LINUX__ */
 
+#if __RISCOS__
+#  include <errno.h>
+#endif
+
 #if (defined(__LINUX__) || defined(__MACOSX__) || defined(__IPHONEOS__)) && defined(HAVE_DLOPEN)
 #include <dlfcn.h>
 #ifndef RTLD_DEFAULT