0001-fix-gettid-declaration.patch 656 B

12345678910111213141516171819202122232425
  1. From 0dfba20346541d0a9261f1d5c81f9d4ba5122b26 Mon Sep 17 00:00:00 2001
  2. From: Waldemar Brodkorb <wbx@openadk.org>
  3. Date: Sun, 25 Jan 2026 18:50:49 +0100
  4. Subject: [PATCH] fix gettid declaration
  5. ---
  6. include/unistd.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/include/unistd.h b/include/unistd.h
  9. index 0fd430549..bfb6ecc13 100644
  10. --- a/include/unistd.h
  11. +++ b/include/unistd.h
  12. @@ -1260,7 +1260,7 @@ extern int getentropy(void *__buf, size_t __len) __nonnull ((1)) __wur;
  13. #endif
  14. #if (defined _GNU_SOURCE && defined __UCLIBC_HAS_THREADS_NATIVE__)
  15. -pid_t gettid(void);
  16. +extern __pid_t gettid(void);
  17. #endif
  18. __END_DECLS
  19. --
  20. 2.47.3