From 3496b29fddca9c2366a0df5fb2aa7d9731ef84ea Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 4 Feb 2003 16:01:00 +0000 Subject: Make this work on non-i386 as well. (Needed for cross-releases.) --- usr.sbin/kgzip/elfhdr.h | 4 +++- usr.sbin/kgzip/kgzcmp.c | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/kgzip') diff --git a/usr.sbin/kgzip/elfhdr.h b/usr.sbin/kgzip/elfhdr.h index f689119..57333b0 100644 --- a/usr.sbin/kgzip/elfhdr.h +++ b/usr.sbin/kgzip/elfhdr.h @@ -27,7 +27,9 @@ */ #include -#include +#define __ELF_WORD_SIZE 32 +#include +#include #include "kgz.h" /* Section header indices */ diff --git a/usr.sbin/kgzip/kgzcmp.c b/usr.sbin/kgzip/kgzcmp.c index 5def730..7406423 100644 --- a/usr.sbin/kgzip/kgzcmp.c +++ b/usr.sbin/kgzip/kgzcmp.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include -- cgit v1.1