Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: fix build in tools mode
details: https://anonhg.NetBSD.org/src/rev/16bc916f2066
branches: trunk
changeset: 952830:16bc916f2066
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Feb 19 14:44:29 2021 +0000
description:
lint: fix build in tools mode
diffstat:
usr.bin/xlint/lint1/ckgetopt.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 8ea4456ae64b -r 16bc916f2066 usr.bin/xlint/lint1/ckgetopt.c
--- a/usr.bin/xlint/lint1/ckgetopt.c Fri Feb 19 13:20:43 2021 +0000
+++ b/usr.bin/xlint/lint1/ckgetopt.c Fri Feb 19 14:44:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ckgetopt.c,v 1.1 2021/02/19 12:28:56 rillig Exp $ */
+/* $NetBSD: ckgetopt.c,v 1.2 2021/02/19 14:44:29 rillig Exp $ */
/*-
* Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -29,9 +29,13 @@
* 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: ckgetopt.c,v 1.1 2021/02/19 12:28:56 rillig Exp $");
+__RCSID("$NetBSD: ckgetopt.c,v 1.2 2021/02/19 14:44:29 rillig Exp $");
#endif
#include <stdbool.h>
Home |
Main Index |
Thread Index |
Old Index