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/dcf31f6cd11b
branches:  trunk
changeset: 989079:dcf31f6cd11b
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 419672aec923 -r dcf31f6cd11b 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