[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2278: MAP_FILE defined twice



>>>>> "Richard" == Richard Kettlewell <richard@uk.geeks.org> writes:

    Richard> Package: libc5-dev
    Richard> Version: 5.2.18-1
    Richard> Package: libc4
    Richard> Version: 4.6.27-11
    Richard> Kernel: 1.3.59

    Richard> I get the following during compilation...

    Richard> /usr/include/sys/mman.h:11: warning: `MAP_FILE' redefined
    Richard> /usr/include/asm/mman.h:29: warning: this is the location of the previous definition

Hi Richard,

thanks for reporting this bug. I've noticed it myself when compiling electric
fence. Since MAP_ANON and MAP_FILE are already defined in asm/mman.h which is
part of the kernel package, I guess these defines can be removed from
sys/mman.h.

If you have 1.2.13 includes handy, would you please check if this assumption
holds.

Thanks
  Siggy

--
mailto:bsb@uni-muenster.de           //      programmer/admin for hire
       bsb@beck.westfalen.de         \\  Opinions are strictly my own,
voice: +49-251-8619-99                \\      everything else is GPLed
                                 http://www.westfalen.de/private/beck/


Reply to: