From: Stefan Liebler Date: Tue, 25 Jul 2023 09:34:30 +0000 (+0200) Subject: Include sys/rseq.h in tst-rseq-disable.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b204650058ac29a3f6fcb710b09af4994fc09d9d;p=thirdparty%2Fglibc.git Include sys/rseq.h in tst-rseq-disable.c 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 (cherry picked from commit 637aac2ae3980de31a6baab236a9255fe853cc76) --- diff --git a/sysdeps/unix/sysv/linux/tst-rseq-disable.c b/sysdeps/unix/sysv/linux/tst-rseq-disable.c index e1a2c02f78..a46b0d0562 100644 --- a/sysdeps/unix/sysv/linux/tst-rseq-disable.c +++ b/sysdeps/unix/sysv/linux/tst-rseq-disable.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #ifdef RSEQ_SIG