don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined.

This commit is contained in:
mrg 2006-05-12 00:24:09 +00:00
parent 5a7bbee727
commit fafcb5dc4d

View File

@ -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>