From: Mark Wielaard Date: Sat, 20 Feb 2021 19:05:31 +0000 (+0100) Subject: Fix valgrind.h include in drd/tests/swapcontext.c X-Git-Tag: VALGRIND_3_17_0~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aac53c6d0ca7e11d4037ff474dcd1c08862fd30;p=thirdparty%2Fvalgrind.git Fix valgrind.h include in drd/tests/swapcontext.c In tree tests should include "valgrind.h" not the later might pick up the system installed valgrind.h and doesn't work when srcdir != builddir. --- diff --git a/drd/tests/swapcontext.c b/drd/tests/swapcontext.c index e73a612dc3..f3944d1ba6 100644 --- a/drd/tests/swapcontext.c +++ b/drd/tests/swapcontext.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include "valgrind.h" typedef struct thread_local { ucontext_t uc[3];