summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-04-05 17:30:15 +0000
committernjl <njl@FreeBSD.org>2004-04-05 17:30:15 +0000
commit8b7744ab537f8854119e0ee36a9cc035a8607d05 (patch)
tree0f7c0be225953e64adf5fcddb276812ff27bc876 /sys
parent63ecd76846e235fe9097b81a583e64bd9dd07faa (diff)
downloadFreeBSD-src-8b7744ab537f8854119e0ee36a9cc035a8607d05.zip
FreeBSD-src-8b7744ab537f8854119e0ee36a9cc035a8607d05.tar.gz
Unbreak the bootloader build by excluding ctype.h.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/dev/acpica/acfreebsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h
index 9b3fb5c..efb4301 100644
--- a/sys/contrib/dev/acpica/acfreebsd.h
+++ b/sys/contrib/dev/acpica/acfreebsd.h
@@ -162,7 +162,9 @@
#define ACPI_USE_STANDARD_HEADERS
#define ACPI_FLUSH_CPU_CACHE()
#include <sys/types.h>
+#if __STDC_HOSTED__
#include <ctype.h>
+#endif
#define __cli()
#define __sti()
OpenPOWER on IntegriCloud