summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/kdump.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-10-01 22:08:07 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2016-10-01 22:08:07 +0000
commit406d2926f28831429a93083bf1b09634e8cad72a (patch)
tree520ad12df122f2b81590cb2ec0c72ff1da3ff705 /usr.bin/kdump/kdump.c
parent8dec694290a38bc1ba64152a574350d70884afb4 (diff)
downloadsrc-test2-406d2926f28831429a93083bf1b09634e8cad72a.tar.gz
src-test2-406d2926f28831429a93083bf1b09634e8cad72a.zip
Notes
Diffstat (limited to 'usr.bin/kdump/kdump.c')
-rw-r--r--usr.bin/kdump/kdump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 1ee1c84a9e5c..199ecdd53837 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -41,10 +41,7 @@ static char sccsid[] = "@(#)kdump.c 8.1 (Berkeley) 6/6/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#define _KERNEL
-extern int errno;
-#include <sys/errno.h>
-#undef _KERNEL
+#define _WANT_KERNEL_ERRNO
#include <sys/param.h>
#include <sys/capsicum.h>
#include <sys/errno.h>