]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - libiberty/xmalloc.c
Synchronize binutils libiberty sources with gcc version.
[thirdparty/binutils-gdb.git] / libiberty / xmalloc.c
index 3971c8f77a27574e4aa6af5d7e02c780d5a90403..e7d52683d350ec83539121636dd5bf83fa9f589e 100644 (file)
@@ -87,7 +87,9 @@ extern "C" {
 void *malloc (size_t);
 void *realloc (void *, size_t);
 void *calloc (size_t, size_t);
+#ifdef HAVE_SBRK
 void *sbrk (ptrdiff_t);
+#endif
 #    ifdef __cplusplus
 }
 #    endif /* __cplusplus */