aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/valloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/valloc.c')
-rw-r--r--newlib/libc/stdlib/valloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/valloc.c b/newlib/libc/stdlib/valloc.c
index 42c09a0..26a44df 100644
--- a/newlib/libc/stdlib/valloc.c
+++ b/newlib/libc/stdlib/valloc.c
@@ -1,3 +1,4 @@
+#ifndef MALLOC_PROVIDED
/* valloc.c -- a wrapper for valloc_r and pvalloc_r. */
#include <_ansi.h>
@@ -22,3 +23,4 @@ _DEFUN (pvalloc, (nbytes),
}
#endif
+#endif