Module Name:    src
Committed By:   rillig
Date:           Mon Oct 11 13:27:47 UTC 2021

Modified Files:
        src/sbin/wsconsctl: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sbin/wsconsctl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/wsconsctl/Makefile
diff -u src/sbin/wsconsctl/Makefile:1.14 src/sbin/wsconsctl/Makefile:1.15
--- src/sbin/wsconsctl/Makefile:1.14	Sun Oct 26 14:55:17 2008
+++ src/sbin/wsconsctl/Makefile	Mon Oct 11 13:27:47 2021
@@ -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 @@ YHEADER=	1
 CPPFLAGS+=	-I. -I${.CURDIR}
 DPSRCS+=	keysym.h
 CLEANFILES+=	keysym.h
+LINTFLAGS+=	-I${NETBSDSRCDIR}/sys
 
 .include <bsd.prog.mk>
 

Reply via email to