diff --git a/glib/tests/once.c b/glib/tests/once.c index ea521c05b..4d6ddf97c 100644 --- a/glib/tests/once.c +++ b/glib/tests/once.c @@ -22,8 +22,9 @@ */ #include +#include "../gvalgrind.h" -#if GLIB_SIZEOF_VOID_P > 4 +#if GLIB_SIZEOF_VOID_P > 4 && !defined(ENABLE_VALGRIND) #define THREADS 1000 #else #define THREADS 100