summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-25 20:07:41 +0000
committered <ed@FreeBSD.org>2009-05-25 20:07:41 +0000
commit4e292ee08cf055f09f3e60a8af95494d542dde4b (patch)
treeb8cf5294fa33b70f4711ef395f919e7760c80e8e /usr.bin
parent9ce20e561daa199d0fa56e32b4ed286e7300cbea (diff)
downloadFreeBSD-src-4e292ee08cf055f09f3e60a8af95494d542dde4b.zip
FreeBSD-src-4e292ee08cf055f09f3e60a8af95494d542dde4b.tar.gz
Fix kdump build when building it by hand.
I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want <sys/ioctl_compat.h> to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola <ato iem pw edu pl>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/mkioctls2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index 1f99c5a..9c7e934 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -32,7 +32,7 @@ ioctl_includes=`
`
awk -v x="$ioctl_includes" 'BEGIN {print x}' |
- gcc -E -I$1 -dM - |
+ gcc -E -I$1 -dM -DCOMPAT_43TTY - |
awk -v ioctl_includes="$ioctl_includes" -v use_switch="$use_switch" '
BEGIN {
print "/* XXX obnoxious prerequisites. */"
OpenPOWER on IntegriCloud