1 --- firefox-52.9.0esr/tools/profiler/core/platform.h~ 2020-03-03 13:20:04.000000000 +0100
2 +++ firefox-52.9.0esr/tools/profiler/core/platform.h 2020-03-03 13:20:47.438599518 +0100
4 // provide a wrapper for it (except for Bionic)
7 +#if !__GLIBC_PREREQ(2, 30)
8 #if !defined(__BIONIC__)
9 #include <sys/syscall.h>
10 static inline pid_t gettid()
11 @@ -71,6 +72,7 @@ static inline pid_t gettid()
19 --- firefox-52.9.0esr/memory/mozjemalloc/jemalloc.c.orig 2017-05-12 02:25:50.000000000 +0200
20 +++ firefox-52.9.0esr/memory/mozjemalloc/jemalloc.c 2023-01-30 06:15:52.731524546 +0100
21 @@ -331,7 +331,7 @@ __FBSDID("$FreeBSD: head/lib/libc/stdlib
24 #include <sys/types.h>
25 -#if !defined(MOZ_MEMORY_SOLARIS) && !defined(MOZ_MEMORY_ANDROID)
26 +#if !defined(MOZ_MEMORY_SOLARIS) && !defined(MOZ_MEMORY_ANDROID) && !defined(__linux__)
27 #include <sys/sysctl.h>