diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-07-31 22:21:24 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-07-31 22:21:24 +0000 |
commit | cc023a755710e51e4b25d139bcb279fefef34860 (patch) | |
tree | 52f2871bc1f972c02d4e38e0c84b0081f95849c1 | |
parent | b23bc8c33cfd5ca607bcc07deaee616f9dceff35 (diff) | |
download | cygnal-cc023a755710e51e4b25d139bcb279fefef34860.tar.gz cygnal-cc023a755710e51e4b25d139bcb279fefef34860.tar.bz2 cygnal-cc023a755710e51e4b25d139bcb279fefef34860.zip |
2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/mmap.c: Remove include of sys/mman.h
to avoid conflict with newer glibc's revision of mremap.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/sys/linux/mmap.c | 1 |
2 files changed, 5 insertions, 1 deletions
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 <jjohnstn@redhat.com> + + * 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 <jjohnstn@redhat.com> * 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 <sys/mman.h> #include <machine/syscall.h> _syscall6(void *,mmap,void *,addr,size_t,len,int,prot,int,flags,int,fd,off_t,off); |