summaryrefslogtreecommitdiffstats
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-09 15:09:40 +0000
committered <ed@FreeBSD.org>2009-05-09 15:09:40 +0000
commit0d2d7e8e7ad8ef95761315a750e9f83f45217a6b (patch)
tree93eded653397cc62583b92a0a84b797ecd36a3d8 /usr.bin/kdump
parent2902f54fb4ea28264b15fd28d0d6c81fd524cebe (diff)
downloadFreeBSD-src-0d2d7e8e7ad8ef95761315a750e9f83f45217a6b.zip
FreeBSD-src-0d2d7e8e7ad8ef95761315a750e9f83f45217a6b.tar.gz
Add support for old TTY ioctls to kdump.
At first I allowed ioctl_compat.h to be included, but it just returned an empty file. I had to do this, to keep kdump happy. I really want to raise a compiler error when including this header, so now it will just throw an error if you don't set COMPAT_43TTY.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/mkioctls1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index cad3c96..1f99c5a 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -37,6 +37,7 @@ awk -v x="$ioctl_includes" 'BEGIN {print x}' |
BEGIN {
print "/* XXX obnoxious prerequisites. */"
print "#define COMPAT_43"
+ print "#define COMPAT_43TTY"
print "#include <sys/param.h>"
print "#include <sys/devicestat.h>"
print "#include <sys/disklabel.h>"
OpenPOWER on IntegriCloud