summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2018-08-30 12:06:06 +0000
committerchristos <christos@NetBSD.org>2018-08-30 12:06:06 +0000
commitebb4e7c4b78534372b6c48c9f08f68dd118bf915 (patch)
tree0e66aa2e664b791077f6ef9da8a13d2d3c5d8818 /lib/libc/stdlib
parenta5bae5a3e93c2a60fb6f2218c30993aa8347ea27 (diff)
Allow being compiled as a tool.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getsubopt.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getsubopt.c b/lib/libc/stdlib/getsubopt.c
index d8481b1cde4..f83d839af0a 100644
--- a/lib/libc/stdlib/getsubopt.c
+++ b/lib/libc/stdlib/getsubopt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getsubopt.c,v 1.9 2012/06/25 22:32:45 abs Exp $ */
+/* $NetBSD: getsubopt.c,v 1.10 2018/08/30 12:06:06 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -29,12 +29,16 @@
* SUCH DAMAGE.
*/
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
#if 0
static char sccsid[] = "@(#)getsubopt.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: getsubopt.c,v 1.9 2012/06/25 22:32:45 abs Exp $");
+__RCSID("$NetBSD: getsubopt.c,v 1.10 2018/08/30 12:06:06 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */