Include sys/rseq.h in tst-rseq-disable.c

Starting with commit 2c6b4b272e
"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>

(cherry picked from commit 637aac2ae3)
This commit is contained in:
Stefan Liebler 2023-07-25 11:34:30 +02:00 committed by Arjun Shankar
parent 9da8174362
commit a11c8d521d

View 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