diff --git a/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch b/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch index c6afff2d23..4f9b115ec6 100644 --- a/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch +++ b/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch @@ -20,7 +20,7 @@ index 561276f0c2..25a74864a1 100644 #include #include -+#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 29) ++#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 30) +#include +#else static long gettid(void) { return syscall(__NR_gettid); } @@ -38,7 +38,7 @@ index 08116b3ab5..d3d3025111 100644 -#ifndef NDEBUG +#if !defined(DEBUG) -+#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 29) ++#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 30) +#include +#else static long gettid(void) { return syscall(__NR_gettid); }