From: Arun Thomas Date: Fri, 10 Aug 2012 20:41:28 +0000 (+0200) Subject: libc/mallocdebug: Make arch-generic X-Git-Tag: v3.2.1~384 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=fbd456ee2b0f02f555c741991b874e42416935b1;p=minix.git libc/mallocdebug: Make arch-generic --- diff --git a/lib/libc/minix/malloc-debug.c b/lib/libc/minix/malloc-debug.c index b2f466fbc..c9edc7367 100644 --- a/lib/libc/minix/malloc-debug.c +++ b/lib/libc/minix/malloc-debug.c @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -24,8 +25,6 @@ static int reenter; #define LOG(args) #endif -#define PAGE_SIZE I386_PAGE_SIZE - struct block { size_t size; unsigned magic;