diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 988bbbcbbf14..3e873af155b9 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -41,6 +41,10 @@ static char copyright[] = static char sccsid[] = "@(#)kdump.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ +#define KERNEL +extern int errno; +#include +#undef KERNEL #include #include #include @@ -48,9 +52,6 @@ static char sccsid[] = "@(#)kdump.c 8.1 (Berkeley) 6/6/93"; #include #include #include -#define KERNEL -#include -#undef KERNEL #include #include #include