diff options
Diffstat (limited to 'newlib/libc/sys/linux/brk.c')
-rw-r--r-- | newlib/libc/sys/linux/brk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/sys/linux/brk.c b/newlib/libc/sys/linux/brk.c index 91bb367e7..f61a0c3c0 100644 --- a/newlib/libc/sys/linux/brk.c +++ b/newlib/libc/sys/linux/brk.c @@ -6,7 +6,7 @@ #include <stddef.h> /* for NULL */ #include <sys/types.h> #include <sys/unistd.h> -#include <machine/syscall.h> +#include <sys/syscall.h> static char *curr_brk = NULL; @@ -28,7 +28,7 @@ int brk(void *end_data_segment) } -void *sbrk(ptrdiff_t increment) /* SHOULD be ptrdiff_t */ +void *sbrk(size_t increment) /* SHOULD be ptrdiff_t */ { char *old_brk,*new_brk; |