void-packages/srcpkgs/qemu/patches/musl-rlimit-rttime.patch

14 lines
279 B
Diff

--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -141,6 +141,10 @@
#include "fd-trans.h"
#include "tcg/tcg.h"
+#ifndef RLIMIT_RTTIME
+#define RLIMIT_RTTIME 15
+#endif
+
#ifndef CLONE_IO
#define CLONE_IO 0x80000000 /* Clone io context */
#endif