This commit is contained in:
christos 2015-10-22 00:29:58 +00:00
parent 0fe5419e98
commit 354d41acbc
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mkioctls,v 1.44 2015/09/27 03:37:16 christos Exp $
# $NetBSD: mkioctls,v 1.45 2015/10/22 00:29:58 christos Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@ -84,13 +84,12 @@ do
echo "#include <$i>"
done | ${SED} -e "s,${DESTDIR}/usr/include/,,g"
grep -v "<sys/modctl.h>" ${1+"$@"} | \
${CC} -E -nostdinc -isystem ${DESTDIR}/usr/include \
-I${DESTDIR}/usr/X11R7/include \
-I${DESTDIR}/usr/X11R7/include/pixman-1 \
-I${DESTDIR}/usr/X11R7/include/libdrm \
-D_VIA_DRM_H_ \
-dM - | \
-dM "${@}" | \
${AWK} '
BEGIN {
keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP