diff options
Diffstat (limited to 'src/linux/sbrk.c')
-rw-r--r-- | src/linux/sbrk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/sbrk.c b/src/linux/sbrk.c index 5fab74be..36437653 100644 --- a/src/linux/sbrk.c +++ b/src/linux/sbrk.c @@ -1,7 +1,7 @@ -#include <stddef.h> +#include <stdint.h> #include "syscall.h" -void *sbrk(ptrdiff_t inc) +void *sbrk(intptr_t inc) { unsigned long cur = syscall(SYS_brk, 0); if (inc && syscall(SYS_brk, cur+inc) != cur+inc) return (void *)-1; |