[Mesa-dev] [PATCH 1/1] intel: corrected the header include path for recent Valgrind versions.

Oliver McFadden oliver.mcfadden at linux.intel.com
Mon Oct 22 05:00:20 PDT 2012


intel_bufmgr_gem.c:67:22: fatal error: valgrind.h: No such file or directory

Signed-off-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
---
 intel/intel_bufmgr_gem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..f5a468c 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -64,8 +64,8 @@
 #include "i915_drm.h"
 
 #ifdef HAVE_VALGRIND
-#include <valgrind.h>
-#include <memcheck.h>
+#include <valgrind/valgrind.h>
+#include <valgrind/memcheck.h>
 #define VG(x) x
 #else
 #define VG(x)
-- 
1.7.8.6



More information about the mesa-dev mailing list