diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 634bdf39ba..26848d464f 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -117,7 +117,7 @@ #include "gstutils.h" #include "gstquark.h" #include "gstsegment.h" -#ifdef HAVE_VALGRIND_H +#ifdef HAVE_VALGRIND_VALGRIND_H # include #endif #include /* g_sprintf */ @@ -281,7 +281,7 @@ _priv_gst_in_valgrind (void) in_valgrind = GST_VG_UNCHECKED; if (in_valgrind == GST_VG_UNCHECKED) { -#ifdef HAVE_VALGRIND_H +#ifdef HAVE_VALGRIND_VALGRIND_H if (RUNNING_ON_VALGRIND) { GST_CAT_INFO (GST_CAT_GST_INIT, "we're running inside valgrind"); printf ("GStreamer has detected that it is running inside valgrind.\n");