summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/remap_file_pages.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/remap_file_pages.c b/libc/sysdeps/linux/common/remap_file_pages.c
index f94067167..2af53a32e 100644
--- a/libc/sysdeps/linux/common/remap_file_pages.c
+++ b/libc/sysdeps/linux/common/remap_file_pages.c
@@ -5,12 +5,12 @@
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-
+#include <sys/mman.h>
#include <sys/syscall.h>
#ifdef __NR_remap_file_pages
-_syscall5(int, remap_file_pages, unsigned long, start, unsigned long, size,
- unsigned long, prot, unsigned long, pgoff, unsigned long, flags);
+_syscall5(int, remap_file_pages, void *, __start, size_t, __size,
+ int, __prot, size_t, __pgoff, int, __flags);
#endif