mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
module-rtkit: define RLIMIT_RTTIME in case it isn't defined.
musl libc doesn't define RLIMIT_RTTIME
This commit is contained in:
parent
5dcaa450ff
commit
67a0b33dc8
1 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ struct impl {
|
|||
#define RTKIT_SERVICE_NAME "org.freedesktop.RealtimeKit1"
|
||||
#define RTKIT_OBJECT_PATH "/org/freedesktop/RealtimeKit1"
|
||||
|
||||
#ifndef RLIMIT_RTTIME
|
||||
#define RLIMIT_RTTIME 15
|
||||
#endif
|
||||
|
||||
/** \cond */
|
||||
struct pw_rtkit_bus {
|
||||
DBusConnection *bus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue