Skip to content

Commit

Permalink
core/linux/SDL_threadprio.c: fix build against older glibc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jun 22, 2020
1 parent b9f55b6 commit 4ba0a84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/linux/SDL_threadprio.c
Expand Up @@ -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
Expand Down

0 comments on commit 4ba0a84

Please sign in to comment.