1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/linux_kdump/files/patch-aa
Marcel Moolenaar c8927aa4ac 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
2000-01-09 10:22:46 +00:00

14 lines
278 B
Plaintext

--- 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>