firefox: fix musl
This commit is contained in:
parent
b38ca942ba
commit
600622a50b
11
srcpkgs/firefox/patches/fix-musl.patch
Normal file
11
srcpkgs/firefox/patches/fix-musl.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- tools/profiler/core/platform.h.orig
|
||||
+++ tools/profiler/core/platform.h
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
// We need a definition of gettid(), but glibc doesn't provide a
|
||||
// wrapper for it.
|
||||
-#if defined(__GLIBC__)
|
||||
+#if defined(__linux__)
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
static inline pid_t gettid()
|
Loading…
x
Reference in New Issue
Block a user