don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined.
This commit is contained in:
parent
5a7bbee727
commit
fafcb5dc4d
2
gnu/dist/gcc4/gcc/ginclude/stddef.h
vendored
2
gnu/dist/gcc4/gcc/ginclude/stddef.h
vendored
@ -55,8 +55,10 @@ Boston, MA 02110-1301, USA. */
|
||||
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
|
||||
one less case to deal with in the following. */
|
||||
#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
|
||||
#ifndef inhibit_libc
|
||||
#include <machine/ansi.h>
|
||||
#endif
|
||||
#endif
|
||||
/* On FreeBSD 5, machine/ansi.h does not exist anymore... */
|
||||
#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
|
||||
#include <sys/_types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user