aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/morecore.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/morecore.c')
-rw-r--r--sysdeps/generic/morecore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/morecore.c b/sysdeps/generic/morecore.c
index 7c83e4a..a712eb3 100644
--- a/sysdeps/generic/morecore.c
+++ b/sysdeps/generic/morecore.c
@@ -27,7 +27,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef __GNU_LIBRARY__
/* It is best not to declare this and cast its result on foreign operating
systems with potentially hostile include files. */
-extern __ptr_t __sbrk __P ((int increment));
+
+#include <stddef.h>
+extern __ptr_t __sbrk __P ((ptrdiff_t increment));
#endif
#ifndef NULL