I don't think this is right thing to be committed. By this way, we can add similar LINTFLAGS hacks every when kernel API is changed.
Please keep this kinds of hacks within your local repository. Thanks, rin On 2021/10/11 22:27, Roland Illig wrote:
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.