From f8cf935fe40bb9af340a4eb468454bf01e2ce287 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Tue, 1 Apr 2008 16:07:06 +0000 Subject: Fix remap_file_pages prototype and use mman.h header --- libc/sysdeps/linux/common/remap_file_pages.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps') 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 #include #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 -- cgit v1.2.3