1--- Objects/obmalloc.c
2+++ Objects/obmalloc.c
3@@ -413,8 +413,8 @@
4
5 #ifdef WITH_PYMALLOC
6
7+#define WITH_VALGRIND
8 #ifdef WITH_VALGRIND
9-#include <valgrind/valgrind.h>
10
11 /* If we're using GCC, use __builtin_expect() to reduce overhead of
12    the valgrind checks */
13@@ -1181,7 +1181,7 @@
14
15 #ifdef WITH_VALGRIND
16     if (UNLIKELY(running_on_valgrind == -1)) {
17-        running_on_valgrind = RUNNING_ON_VALGRIND;
18+        running_on_valgrind = 1;
19     }
20     if (UNLIKELY(running_on_valgrind)) {
21         return NULL;
22