summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgzip
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-01 19:23:02 +0000
committerjulian <julian@FreeBSD.org>2004-09-01 19:23:02 +0000
commita141198c5395c62e306f62158e43111bbab01e71 (patch)
tree167e3c8f0138ef3e6ca7adac5f68df6e560200ff /usr.sbin/kgzip
parent38af5e4b6bfb94bc8ecbb0d4d988ecfc2a330bdd (diff)
downloadFreeBSD-src-a141198c5395c62e306f62158e43111bbab01e71.zip
FreeBSD-src-a141198c5395c62e306f62158e43111bbab01e71.tar.gz
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
Diffstat (limited to 'usr.sbin/kgzip')
-rw-r--r--usr.sbin/kgzip/kgzcmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/kgzip/kgzcmp.c b/usr.sbin/kgzip/kgzcmp.c
index 0ea4f0e..54a4493 100644
--- a/usr.sbin/kgzip/kgzcmp.c
+++ b/usr.sbin/kgzip/kgzcmp.c
@@ -27,7 +27,9 @@
*/
#define _KERNEL
+#define KLD_MODULE
#include <sys/param.h>
+#undef KLD_MODULE
#undef _KERNEL
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud