summaryrefslogtreecommitdiff
path: root/stand/mips
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-01-08 18:47:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-01-08 18:47:35 +0000
commit349b6dad63a53b2d82179e3b153357e4a60cbfa5 (patch)
tree8378b437e99a4916b6debd20aab32a55971d73a9 /stand/mips
parent9bd8ae10e38ce594b02bbe26cba0b86a09195408 (diff)
downloadsrc-test2-349b6dad63a53b2d82179e3b153357e4a60cbfa5.tar.gz
src-test2-349b6dad63a53b2d82179e3b153357e4a60cbfa5.zip
Use <stand.h> instead of <inttypes.h> and <stdio.h> in boot code.
In the freestanding boot compile environment, standard headers are not available. Curiously, only building with clang exposed this as compiles with external GCC still succeeded. Sponsored by: DARPA / AFRL
Notes
Notes: svn path=/head/; revision=327705
Diffstat (limited to 'stand/mips')
-rw-r--r--stand/mips/beri/common/sdcard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stand/mips/beri/common/sdcard.c b/stand/mips/beri/common/sdcard.c
index 4de3db4b98e5..14b52875ed4d 100644
--- a/stand/mips/beri/common/sdcard.c
+++ b/stand/mips/beri/common/sdcard.c
@@ -33,8 +33,7 @@
#include <sys/types.h>
#include <sys/endian.h>
-#include <inttypes.h>
-#include <stdio.h>
+#include <stand.h>
/*