File have-gettid.patch of Package firefox-esr52-gtk2

--- mozilla/tools/profiler/core/platform.h.orig 2022-08-29 23:06:08.028453830 -0700
+++ mozilla/tools/profiler/core/platform.h      2022-08-29 23:07:18.881506682 -0700
@@ -63,13 +63,6 @@
 // provide a wrapper for it (except for Bionic)
 #if defined(__linux__)
 #include <unistd.h>
-#if !defined(__BIONIC__)
-#include <sys/syscall.h>
-static inline pid_t gettid()
-{
-  return (pid_t) syscall(SYS_gettid);
-}
-#endif
 #endif
 
 #ifdef XP_WIN
openSUSE Build Service is sponsored by