--- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h~ 2018-07-12 04:19:15.000000000 +0200 +++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2019-10-10 14:38:34.367540687 +0200 @@ -65,12 +65,14 @@ #include #if !defined(__BIONIC__) #include +#if defined(__GLIBC__) && ! __GLIBC_PREREQ(2, 30) static inline pid_t gettid() { return (pid_t) syscall(SYS_gettid); } #endif #endif +#endif #ifdef XP_WIN #include