aports/testing/partclone/memtrace.patch
Natanael Copa a9054df604 testing/partclone: new aport
Partition cloning tool
http://partclone.org/
2011-06-07 19:28:25 +00:00

15 lines
298 B
Diff

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>