Include sys/rseq.h in tst-rseq-disable.c
authorStefan Liebler <stli@linux.ibm.com>
Tue, 25 Jul 2023 09:34:30 +0000 (11:34 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 25 Jul 2023 10:27:30 +0000 (12:27 +0200)
Starting with commit 2c6b4b272e6b4d07303af25709051c3e96288f2d
"nptl: Unconditionally use a 32-byte rseq area", the testcase
misc/tst-rseq-disable is UNSUPPORTED as RSEQ_SIG is not defined.

The mentioned commit removes inclusion of sys/rseq.h in nptl/descr.h.
Thus just include sys/rseq.h in the tst-rseq-disable.c as also done
in tst-rseq.c and tst-rseq-nptl.c.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/unix/sysv/linux/tst-rseq-disable.c

index d0db81b..cc7e94b 100644 (file)
@@ -22,6 +22,7 @@
 #include <support/xthread.h>
 #include <sysdep.h>
 #include <thread_pointer.h>
+#include <sys/rseq.h>
 #include <unistd.h>
 
 #ifdef RSEQ_SIG