[PATCH 5.7.0] make regcomp reenterable
[p5sagit/p5-mst-13.2.git] / malloc.c
index 5d9652e..42c2d65 100644 (file)
--- a/malloc.c
+++ b/malloc.c
@@ -894,9 +894,11 @@ Malloc_t Perl_sbrk (int size);
 #include <unistd.h>
 #endif
 #else
+#ifndef HAS_SBRK_PROTO
 extern Malloc_t sbrk(int);
 #endif
 #endif
+#endif
 
 #ifdef DEBUGGING_MSTATS
 /*