Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint fix the build
details: https://anonhg.NetBSD.org/src/rev/068242a54e8a
branches: trunk
changeset: 950274:068242a54e8a
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 24 00:02:38 2021 +0000
description:
fix the build
diffstat:
usr.bin/xlint/lint1/lex.c | 8 ++++++--
usr.bin/xlint/xlint/Makefile | 4 ++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 1bd33118816b -r 068242a54e8a usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Sat Jan 23 23:11:40 2021 +0000
+++ b/usr.bin/xlint/lint1/lex.c Sun Jan 24 00:02:38 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.3 2021/01/23 23:11:40 rillig Exp $ */
+/* $NetBSD: lex.c,v 1.4 2021/01/24 00:02:38 christos Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -32,9 +32,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: lex.c,v 1.3 2021/01/23 23:11:40 rillig Exp $");
+__RCSID("$NetBSD: lex.c,v 1.4 2021/01/24 00:02:38 christos Exp $");
#endif
#include <ctype.h>
diff -r 1bd33118816b -r 068242a54e8a usr.bin/xlint/xlint/Makefile
--- a/usr.bin/xlint/xlint/Makefile Sat Jan 23 23:11:40 2021 +0000
+++ b/usr.bin/xlint/xlint/Makefile Sun Jan 24 00:02:38 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2021/01/17 19:32:53 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2021/01/24 00:11:07 christos Exp $
.PATH: ${.CURDIR}/../lint1
.PATH: ${.CURDIR}/../../mkdep
@@ -14,10 +14,10 @@
.if (${HOSTPROG:U} == "")
DPADD+= ${LIBUTIL}
LDADD+= -lutil
-.endif
FILES+= strict-bool-stdbool.h
FILESDIR= /usr/libdata/lint/strict-bool
FILESNAME_strict-bool-stdbool.h= stdbool.h
+.endif
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index