From e5cb53908537e485eb3b4eab5465d3018785fd97 Mon Sep 17 00:00:00 2001 From: robert 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/boot/sparc64') diff --git a/sys/boot/sparc64/loader/main.c b/sys/boot/sparc64/loader/main.c index c65426e..208d94e 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.1