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