aports/community/librewolf/musl-prctl.patch
2026-01-12 16:23:58 +01:00

14 lines
447 B
Diff

Patch-Source: https://github.com/chimera-linux/cports/blob/e03d10213b9e95e08a22af07ce34d8aad7f4d11d/main/firefox/patches/musl-prctl.patch
--- a/third_party/libwebrtc/rtc_base/platform_thread_types.cc
+++ b/third_party/libwebrtc/rtc_base/platform_thread_types.cc
@@ -12,7 +12,9 @@
// IWYU pragma: begin_keep
#if defined(WEBRTC_LINUX)
+#if defined(__GLIBC__)
#include <linux/prctl.h>
+#endif
#include <sys/prctl.h>
#include <sys/syscall.h>