diff --git a/src/core/stuff.h b/src/core/stuff.h index 915a6c98..174cf395 100644 --- a/src/core/stuff.h +++ b/src/core/stuff.h @@ -215,8 +215,8 @@ static bool atomEqual(B w, B x) { // doesn't consume (not that that matters real #ifdef USE_VALGRIND + #include "../utils/valgrind.h" #include - #include static void pst(char* msg) { VALGRIND_PRINTF_BACKTRACE("%s", msg); } diff --git a/src/opt/mm_buddyTemplate.h b/src/opt/mm_buddyTemplate.h index 8dca290b..5036a4c2 100644 --- a/src/opt/mm_buddyTemplate.h +++ b/src/opt/mm_buddyTemplate.h @@ -1,7 +1,3 @@ -#ifdef USE_VALGRIND - #include "../utils/valgrind.h" -#endif - #define buckets BN(buckets) static void BN(free)(Value* x) { onFree(x);