module-rtkit: define RLIMIT_RTTIME in case it isn't defined.

musl libc doesn't define RLIMIT_RTTIME
This commit is contained in:
maxice8 2018-11-22 19:16:24 -02:00 committed by Wim Taymans
parent b911c36793
commit 3b117d9ecf

View file

@ -105,6 +105,10 @@ struct impl {
#define RTKIT_SERVICE_NAME "org.freedesktop.RealtimeKit1" #define RTKIT_SERVICE_NAME "org.freedesktop.RealtimeKit1"
#define RTKIT_OBJECT_PATH "/org/freedesktop/RealtimeKit1" #define RTKIT_OBJECT_PATH "/org/freedesktop/RealtimeKit1"
#ifndef RLIMIT_RTTIME
#define RLIMIT_RTTIME 15
#endif
/** \cond */ /** \cond */
struct pw_rtkit_bus { struct pw_rtkit_bus {
DBusConnection *bus; DBusConnection *bus;