summaryrefslogtreecommitdiff
path: root/lib/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib')
-rw-r--r--lib/zlib/zutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zlib/zutil.c b/lib/zlib/zutil.c
index 14f6eb1e07..173a81d1ea 100644
--- a/lib/zlib/zutil.c
+++ b/lib/zlib/zutil.c
@@ -43,11 +43,13 @@ void z_error (m)
*/
#ifndef MY_ZCALLOC /* Any system without a special alloc function */
+#ifndef __UBOOT__
#ifndef STDC
extern voidp malloc OF((uInt size));
extern voidp calloc OF((uInt items, uInt size));
extern void free OF((voidpf ptr));
#endif
+#endif
voidpf zcalloc(voidpf opaque, unsigned items, unsigned size)
{