Blame SOURCES/valgrind-3.13.0-ucontext_t.patch

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