Browse Source

Fixed bug 4667 - Build errors on Linux when building without Threads support

Manuel Sabogal

There is an issue on the latest commit of the mercurial repo when SDL_THREADS_DISABLED is set:

src/core/linux/SDL_threadprio.c:79:28: error: unknown type name 'Sint64'; did you mean 'int'
Sam Lantinga 5 years ago
parent
commit
93a5e4ce06
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/linux/SDL_threadprio.c

+ 2 - 0
src/core/linux/SDL_threadprio.c

@@ -22,6 +22,8 @@
 
 #ifdef __LINUX__
 
+#include "SDL_stdinc.h"
+
 #if !SDL_THREADS_DISABLED
 #include <sys/time.h>
 #include <sys/resource.h>