Sfoglia il codice sorgente

RISCOS: attempt to fix compilation ERANGE

Sylvain 3 anni fa
parent
commit
df0d696a62
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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