summaryrefslogtreecommitdiffstats
path: root/common/diet/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/diet/alloc.c')
-rw-r--r--common/diet/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/diet/alloc.c b/common/diet/alloc.c
index de676ce4..d5710433 100644
--- a/common/diet/alloc.c
+++ b/common/diet/alloc.c
@@ -1,3 +1,4 @@
+#ifdef __dietlibc__
/*
* malloc/free by O.Dreesen
*
@@ -251,4 +252,4 @@ retzero:
return ptr;
}
void* realloc(void* ptr, size_t size) __attribute__((weak,alias("__libc_realloc")));
-
+#endif