summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/mkioctls
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-01-09 17:10:08 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-01-09 17:10:08 +0000
commit6d0e187df0d2a1741e538eea727a0d16d35daf96 (patch)
treef11335e3a649f4be48a5598b05e8b921eb9ec912 /usr.bin/kdump/mkioctls
parentfdf789d056ee928129fec0d9e5ffa85592956e24 (diff)
use cc -E for the preprocessor instead of cpp.
ok espie@ millert@
Diffstat (limited to 'usr.bin/kdump/mkioctls')
-rw-r--r--usr.bin/kdump/mkioctls4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index cc801364926..916ce8de939 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: mkioctls,v 1.14 2003/07/02 20:54:17 deraadt Exp $
+# $OpenBSD: mkioctls,v 1.15 2004/01/09 17:10:07 brad Exp $
#
# Copyright (c) 1994
@@ -31,7 +31,7 @@
#
# @(#)mkioctls 8.2 (Berkeley) 4/28/95
#
-cpp -nostdinc -idirafter $DESTDIR/usr/include -dM ${1+"$@"} | awk '
+${CC:-cc} -E -nostdinc -idirafter $DESTDIR/usr/include -dM ${1+"$@"} | awk '
BEGIN {
print "#include <sys/param.h>"
print "#include <sys/socket.h>"