From 7d901dbf29ec5b72479cf6246b4405c8e2090c3a Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 1 Sep 2004 19:23:02 +0000 Subject: [PATCH] When non kernel programs try to define _KERNEL it always ends in tears. this is a temporary hack.. we'll remove it in a short while. I'll set teh MFC to remind me MFC after: 1 week --- usr.sbin/kgzip/kgzcmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/kgzip/kgzcmp.c b/usr.sbin/kgzip/kgzcmp.c index 0ea4f0e796c1..54a4493f6574 100644 --- a/usr.sbin/kgzip/kgzcmp.c +++ b/usr.sbin/kgzip/kgzcmp.c @@ -27,7 +27,9 @@ */ #define _KERNEL +#define KLD_MODULE #include +#undef KLD_MODULE #undef _KERNEL #include #include