Kill sys/modctl.h which we don't need.

This commit is contained in:
christos 2015-09-27 03:37:16 +00:00
parent c9b640c057
commit 20c3ea3d63
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: mkioctls,v 1.43 2015/05/20 07:16:15 matt Exp $
# $NetBSD: mkioctls,v 1.44 2015/09/27 03:37:16 christos Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@ -84,12 +84,13 @@ 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 ${1+"$@"} | \
-dM - | \
${AWK} '
BEGIN {
keep["SLIOCGUNIT"] = 1; # Same as PPPIOCGASYNCMAP