|
From: Bart V. A. <bva...@ac...> - 2011-11-11 14:13:22
|
On Wed, Nov 9, 2011 at 9:58 PM, Rich Coe <rc...@wi...> wrote: > On Wed, 9 Nov 2011 17:31:55 +0000 (GMT) > sv...@va... wrote: >> Author: bart >> Date: 2011-11-09 17:31:54 +0000 (Wed, 09 Nov 2011) >> New Revision: 12263 >> Modified: trunk/memcheck/tests/x86-linux/scalar.c >> +#include <linux/mman.h> // MREMAP_FIXED > > Shouldn't this be #include <sys/mman.h> ??? > > linux/mman.h is the kernel's header file ... As far as I can see on RHEL 4 the definition of MREMAP_FIXED is missing in the glibc header files and is only present in the kernel header files. So either <linux/mman.h> has to be included or an explicit definition of MREMAP_FIXED has to be provided. Bart. |