mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 22:48:30 +00:00
core/linux/SDL_threadprio.c: fix build against older glibc versions
This commit is contained in:
@@ -32,6 +32,11 @@
|
||||
#include <pthread.h>
|
||||
#include "SDL_system.h"
|
||||
|
||||
/* RLIMIT_RTTIME requires kernel >= 2.6.25 and is in glibc >= 2.14 */
|
||||
#ifndef RLIMIT_RTTIME
|
||||
#define RLIMIT_RTTIME 15
|
||||
#endif
|
||||
|
||||
#include "SDL_dbus.h"
|
||||
|
||||
#if SDL_USE_LIBDBUS
|
||||
|
Reference in New Issue
Block a user