From 27df6d48bfee87a2f01dee72f853e4961a9c94c6 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Wed, 22 Oct 2014 09:25:03 +0000 Subject: [PATCH] Followup to r14646. The symbol TIOCSIG is not necessarily defined, e.g. on s390x with glibc 2.3.4. Modify the testcase to bypass the ioctl call in that case. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14649 --- memcheck/tests/linux/ioctl-tiocsig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memcheck/tests/linux/ioctl-tiocsig.c b/memcheck/tests/linux/ioctl-tiocsig.c index 1738066fa0..69c33e4428 100644 --- a/memcheck/tests/linux/ioctl-tiocsig.c +++ b/memcheck/tests/linux/ioctl-tiocsig.c @@ -2,6 +2,8 @@ int main() { +#ifdef TIOCSIG ioctl(9, TIOCSIG, 9); +#endif return 0; } -- 2.47.3