From 066a5e3e496a773d87b51f62f8e16557fee1e339 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 23 Feb 2006 16:04:10 +0000 Subject: * Include sys/syscall.h so __NR_mmap2 and _syscall6 actually have a chance of being defined (the lack of this include probably means that the common mmap64() function has never worked as intended...) * Include bits/uClibc_page.h to get MMAP2_PAGE_SHIFT for architectures that need to define it. --- libc/sysdeps/linux/common/mmap64.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index 3c99769d3..0ae0e7ebc 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -9,6 +9,8 @@ #include #include #include +#include +#include #ifdef __UCLIBC_HAS_LFS__ -- cgit v1.2.3