RISCOS: attempt to fix compilation ERANGE

This commit is contained in:
Sylvain 2022-02-02 15:22:14 +01:00
parent 87b02d3795
commit df0d696a62
No known key found for this signature in database
GPG Key ID: 5F87E02E5BC0939E
1 changed files with 4 additions and 0 deletions

View File

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