fix missing _BSD_SOURCE support in bits/*.h
authorRich Felker <dalias@aerifal.cx>
Wed, 23 May 2012 02:12:10 +0000 (22:12 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 23 May 2012 02:12:10 +0000 (22:12 -0400)
commit030b452b8d6c95be6b6de661aed96e8379d1a80e
tree502c8949e763e6962cfd884391645d07daf5b1cf
parent96601e3c617bb2122265419f0895730ed794f5af
fix missing _BSD_SOURCE support in bits/*.h

this is actually rather ugly, and would get even uglier if we ever
want to support further feature test macros. at some point i may
factor the bits headers into separate files for C base, POSIX base,
and nonstandard extensions (the only distinctions that seem to matter
now) and then the logic for which to include can go in the main header
rather than being duplicated for each arch. the downside of this is
that it would result in more files having to be opened during
compilation, so as long as the ugliness does not grow, i'm inclined to
leave it alone for now.
arch/arm/bits/limits.h
arch/arm/bits/mman.h
arch/arm/bits/signal.h
arch/i386/bits/limits.h
arch/i386/bits/mman.h
arch/i386/bits/signal.h
arch/x86_64/bits/limits.h
arch/x86_64/bits/mman.h
arch/x86_64/bits/signal.h