glibc/glibc-RHEL-56627-6.patch
Florian Weimer 2d30216b53 Add sched_setattr, sched_getattr, pthread_gettid_np (RHEL-56627)
To avoid ABI stability issues, the functions are added to
libc_nonshared.a.

Resolves: RHEL-56627
Resolves: RHEL-61562
Resolves: RHEL-83017
2025-03-12 15:55:49 +01:00

21 lines
614 B
Diff

commit 6e30efe570f1ba135747c6d8f4004e78cd24c49c
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Mar 12 11:10:14 2025 +0100
nptl: Include <stdbool.h> in tst-pthread_gettid_np.c
The test uses the while (true) construct.
diff --git a/nptl/tst-pthread_gettid_np.c b/nptl/tst-pthread_gettid_np.c
index 6a98d864e222b9f5..ced42915106f5390 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>