mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
b911c36793
commit
3b117d9ecf
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue