Displaying 1 result from an estimated 1 matches for "413b733".
Did you mean:
137733
2008 Jul 13
1
bunch of small fixes
...ix compile with DEBUG_MALLOC
usr/klibc/malloc.o: In function `free':
/home/max/src/klibc/usr/klibc/malloc.c:215: undefined reference to `assert'
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/klibc/malloc.c b/usr/klibc/malloc.c
index fbbbbbc..413b733 100644
--- a/usr/klibc/malloc.c
+++ b/usr/klibc/malloc.c
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
+#include <assert.h>
#include "malloc.h"
/* Both the arena list and the free memory list are double linked