[PATCH COMMITTED] nptl: Include <stdbool.h> in tst-pthread_gettid_np.c

Florian Weimer fweimer@redhat.com
Wed Mar 12 10:26:02 GMT 2025


The test uses the while (true) construct.

---
 nptl/tst-pthread_gettid_np.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nptl/tst-pthread_gettid_np.c b/nptl/tst-pthread_gettid_np.c
index 6a98d864e2..ced4291510 100644
--- a/nptl/tst-pthread_gettid_np.c
+++ b/nptl/tst-pthread_gettid_np.c
@@ -20,6 +20,7 @@
 #include <pthread.h>
 #include <sched.h>
 #include <signal.h>
+#include <stdbool.h>
 #include <support/check.h>
 #include <support/xthread.h>
 #include <unistd.h>

base-commit: 1ec411f7aec1bb7fb0992c8e23a42cea306305aa



More information about the Libc-alpha mailing list