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'
This commit is contained in:
Sam Lantinga 2019-06-17 08:38:33 -07:00
parent 9306ef9b10
commit 93a5e4ce06
1 changed files with 2 additions and 0 deletions

View File

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