Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/wsconsctl wsconsctl: include correct header for lint
details: https://anonhg.NetBSD.org/src/rev/4b37550849a8
branches: trunk
changeset: 1024158:4b37550849a8
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Oct 11 13:27:47 2021 +0000
description:
wsconsctl: include correct header for lint
Running lint in non-tools mode picked up the header from the installed
system, not the one corresponding to the source code. The installed
header on NetBSD 9.99.88 does not define WSMOUSECFG_MAX yet.
diffstat:
sbin/wsconsctl/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 10397c491929 -r 4b37550849a8 sbin/wsconsctl/Makefile
--- a/sbin/wsconsctl/Makefile Mon Oct 11 13:27:26 2021 +0000
+++ b/sbin/wsconsctl/Makefile Mon Oct 11 13:27:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/10/26 14:55:17 apb Exp $
+# $NetBSD: Makefile,v 1.15 2021/10/11 13:27:47 rillig Exp $
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
@@ -9,6 +9,7 @@
CPPFLAGS+= -I. -I${.CURDIR}
DPSRCS+= keysym.h
CLEANFILES+= keysym.h
+LINTFLAGS+= -I${NETBSDSRCDIR}/sys
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index