|
From: Mark W. <ma...@so...> - 2021-02-20 19:09:33
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=7aac53c6d0ca7e11d4037ff474dcd1c08862fd30 commit 7aac53c6d0ca7e11d4037ff474dcd1c08862fd30 Author: Mark Wielaard <ma...@kl...> Date: Sat Feb 20 20:05:31 2021 +0100 Fix valgrind.h include in drd/tests/swapcontext.c In tree tests should include "valgrind.h" not <valgrind/valgrind.h> the later might pick up the system installed valgrind.h and doesn't work when srcdir != builddir. Diff: --- drd/tests/swapcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <sys/timerfd.h> #include <ucontext.h> #include <unistd.h> -#include <valgrind/valgrind.h> +#include "valgrind.h" typedef struct thread_local { ucontext_t uc[3]; |