aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/partclone/memtrace.patch
blob: 9c8ba9af1b01ca038febef0b4ceecf38bd6feef9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                    
diff --git a/src/main.c b/src/main.c
index 2fb6b58..8f079f2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,7 +20,9 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef HAVE_MEMTRACE
 #include <mcheck.h>
+#endif
 #include <stdint.h>
 #include <stdarg.h>
 #include <string.h>