diff --git a/src/core/linux/SDL_threadprio.c b/src/core/linux/SDL_threadprio.c index 162b1a3f1..2cbc4cb48 100644 --- a/src/core/linux/SDL_threadprio.c +++ b/src/core/linux/SDL_threadprio.c @@ -22,6 +22,7 @@ #ifdef __LINUX__ +#include "SDL_error.h" #include "SDL_stdinc.h" #if !SDL_THREADS_DISABLED