File firefox-glibc-getid.patch of Package firefox52esr

--- mozilla.orig/tools/profiler/core/platform.h
+++ mozilla/tools/profiler/core/platform.h
@@ -59,13 +59,13 @@
 #include <vector>
 #include "StackTop.h"
 
-// We need a definition of gettid(), but Linux libc implementations don't
+// We need a definition of gettid(), but old Linux libc implementations don't
 // 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()
+inline pid_t gettid()
 {
   return (pid_t) syscall(SYS_gettid);
 }
openSUSE Build Service is sponsored by