bd144c9
commit 9b37074f7609cd496c067e88ef8c436981aa7267
bd144c9
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
bd144c9
Date:   Thu Jun 29 15:26:30 2017 +0000
bd144c9
bd144c9
    memcheck/tests: Use ucontext_t instead of struct ucontext
bd144c9
    
bd144c9
    glibc 2.26 does not expose struct ucontext anymore.
bd144c9
    
bd144c9
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
bd144c9
    
bd144c9
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16457 a5019735-40e9-0310-863c-91ae7b9d1cf9
bd144c9
bd144c9
diff --git a/memcheck/tests/linux/stack_changes.c b/memcheck/tests/linux/stack_changes.c
bd144c9
index a978fc2..7f97b90 100644
bd144c9
--- a/memcheck/tests/linux/stack_changes.c
bd144c9
+++ b/memcheck/tests/linux/stack_changes.c
bd144c9
@@ -10,7 +10,7 @@
bd144c9
 // This test is checking the libc context calls (setcontext, etc.) and
bd144c9
 // checks that Valgrind notices their stack changes properly.
bd144c9
 
bd144c9
-typedef  struct ucontext  mycontext;
bd144c9
+typedef  ucontext_t  mycontext;
bd144c9
 
bd144c9
 mycontext ctx1, ctx2, oldc;
bd144c9
 int count;