[PATCH] nptl: Include <stdbool.h> in tst-skeleton-affinity-inheritance.c

Florian Weimer fweimer@redhat.com
Tue Jan 21 09:40:10 GMT 2025


The file uses the identifiers bool, false, true.

Andreas, is this still okay for 2.41?  It makes the test case more
brittle to compile than necessary.

Thanks,
Florian
---
 nptl/tst-skeleton-affinity-inheritance.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nptl/tst-skeleton-affinity-inheritance.c b/nptl/tst-skeleton-affinity-inheritance.c
index 926f496229..e1f328ae26 100644
--- a/nptl/tst-skeleton-affinity-inheritance.c
+++ b/nptl/tst-skeleton-affinity-inheritance.c
@@ -32,6 +32,7 @@
    they're both inherited.  */
 
 #include <errno.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <support/test-driver.h>
 #include <support/xthread.h>

base-commit: 1ac28b781882e3f14b41dcb06f3f945d53938948



More information about the Libc-alpha mailing list