Make the port (version 1.4) work on -current again where KERNEL has

been renamed to _KERNEL. Keep KERNEL so that the port still works
on -stable.

Brokenness spotted by: kris
This commit is contained in:
Marcel Moolenaar 2000-01-09 10:22:46 +00:00
parent 75c35020bd
commit c8927aa4ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24597

View file

@ -0,0 +1,13 @@
--- kdump.c.orig Sat Oct 9 19:57:45 1999
+++ kdump.c Sun Jan 9 11:19:14 2000
@@ -46,8 +46,10 @@
#endif /* not lint */
#define KERNEL
+#define _KERNEL
extern int errno;
#include <sys/errno.h>
+#undef _KERNEL
#undef KERNEL
#include <sys/param.h>
#include <sys/errno.h>