diff options
Diffstat (limited to 'lib/libc/fcntl/posix_fallocate.c')
| -rw-r--r-- | lib/libc/fcntl/posix_fallocate.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/fcntl/posix_fallocate.c b/lib/libc/fcntl/posix_fallocate.c index 221f2d38..61129c4a 100644 --- a/lib/libc/fcntl/posix_fallocate.c +++ b/lib/libc/fcntl/posix_fallocate.c @@ -1,5 +1,8 @@ -#include <fcntl.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_fallocate + +#include <fcntl.h> // for posix_fallocate +#include <sys/types.h> // for off_t +#include <syscall.h> // for __syscall_4, syscall int posix_fallocate(int fd, off_t offset, off_t len) { |
