From cc023a755710e51e4b25d139bcb279fefef34860 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 31 Jul 2006 22:21:24 +0000 Subject: 2006-07-31 Jeff Johnston * libc/sys/linux/mmap.c: Remove include of sys/mman.h to avoid conflict with newer glibc's revision of mremap. --- newlib/ChangeLog | 5 +++++ newlib/libc/sys/linux/mmap.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index f177d70b2..1e6434a85 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2006-07-31 Jeff Johnston + + * libc/sys/linux/mmap.c: Remove include of sys/mman.h + to avoid conflict with newer glibc's revision of mremap. + 2006-07-05 Jeff Johnston * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex diff --git a/newlib/libc/sys/linux/mmap.c b/newlib/libc/sys/linux/mmap.c index 6af2b851d..f4a8f2319 100644 --- a/newlib/libc/sys/linux/mmap.c +++ b/newlib/libc/sys/linux/mmap.c @@ -2,7 +2,6 @@ /* Copyright 2002, Red Hat Inc. */ -#include #include _syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,off); -- cgit v1.2.3