summaryrefslogtreecommitdiff
path: root/libdm/mm
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2012-10-09 20:54:41 +0200
committerPetr Rockai <prockai@redhat.com>2012-10-09 20:54:41 +0200
commitd760669e80f029a4d507e91ad431431b627f5555 (patch)
tree0e6d062f1d7606c725b9cb7c100f91dacb2828df /libdm/mm
parent19971492632fb2273bb2a991858e5cd5b48e2c5d (diff)
downloadlvm2-d760669e80f029a4d507e91ad431431b627f5555.tar.gz
configure: Use pkg-config to look for valgrind/memcheck.h.
Diffstat (limited to 'libdm/mm')
-rw-r--r--libdm/mm/dbg_malloc.c2
-rw-r--r--libdm/mm/pool-fast.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdm/mm/dbg_malloc.c b/libdm/mm/dbg_malloc.c
index fe8f5a99d..d37083fcd 100644
--- a/libdm/mm/dbg_malloc.c
+++ b/libdm/mm/dbg_malloc.c
@@ -16,7 +16,7 @@
#include "dmlib.h"
#ifdef VALGRIND_POOL
-#include "valgrind/memcheck.h"
+#include "memcheck.h"
#endif
#include <assert.h>
diff --git a/libdm/mm/pool-fast.c b/libdm/mm/pool-fast.c
index d54527ac5..61e076a1e 100644
--- a/libdm/mm/pool-fast.c
+++ b/libdm/mm/pool-fast.c
@@ -14,7 +14,7 @@
*/
#ifdef VALGRIND_POOL
-#include "valgrind/memcheck.h"
+#include "memcheck.h"
#endif
#include "dmlib.h"