diff mbox

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

Message ID 1350907220-17271-1-git-send-email-oliver.mcfadden@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Oliver McFadden Oct. 22, 2012, noon UTC
intel_bufmgr_gem.c:67:22: fatal error: valgrind.h: No such file or directory

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

Comments

Chris Wilson Oct. 22, 2012, 12:03 p.m. UTC | #1
On Mon, 22 Oct 2012 15:00:20 +0300, Oliver McFadden <oliver.mcfadden@linux.intel.com> wrote:
> intel_bufmgr_gem.c:67:22: fatal error: valgrind.h: No such file or directory

Should be setup by `pkg-config --clfags valgrind` to point into the
right valgrind header directory.
-Chris
diff mbox

Patch

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)