Only include one of <sys/cdefs_elf.h> or <sys/cdefs_aout.h> depending on

__ELF__.  Only include <stdbool.h> if __GNUC__ > 2.
This commit is contained in:
matt 2004-01-20 23:45:09 +00:00
parent f0d1f46d5b
commit 4126327e1a

View File

@ -15,8 +15,11 @@
#include <sys/buf.h>
#include <sys/callout.h>
#include <sys/cdefs.h>
#include <sys/cdefs_aout.h>
#ifdef __ELF__
#include <sys/cdefs_elf.h>
#else
#include <sys/cdefs_aout.h>
#endif
#include <sys/cdio.h>
#include <sys/chio.h>
#include <sys/clockctl.h>
@ -313,7 +316,9 @@
#include <soundcard.h>
#include <stab.h>
#include <stdarg.h>
#if __GNUC__ > 2
#include <stdbool.h>
#endif
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>