From 09bb4b96a4e37a530367804e238beb8a60660ec5 Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Wed, 21 Aug 2002 12:45:36 +0000 Subject: - Define the macro _KERNEL to pretend we are compiling a kernel. This is required by recent changes to , which uses the #error preprocessor directive to keep non-kernel applications from using it. _KERNEL is defined below the #include , because removes the definition of _KERNEL. - Move the inclusion of above the inclusion of to avoid syntax errors. --- sys/boot/sparc64/loader/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index c65426ead997d..208d94eb33c13 100644 --- a/sys/boot/sparc64/loader/main.c +++ b/sys/boot/sparc64/loader/main.c @@ -19,11 +19,12 @@ */ #include +#define _KERNEL #include #include +#include #include #include -#include #include #include -- cgit v1.3