Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Allow being compiled as a tool.



details:   https://anonhg.NetBSD.org/src/rev/b211253fef21
branches:  trunk
changeset: 993206:b211253fef21
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 30 12:06:06 2018 +0000

description:
Allow being compiled as a tool.

diffstat:

 lib/libc/stdlib/getsubopt.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r e9548b7a220a -r b211253fef21 lib/libc/stdlib/getsubopt.c
--- a/lib/libc/stdlib/getsubopt.c       Thu Aug 30 12:05:34 2018 +0000
+++ b/lib/libc/stdlib/getsubopt.c       Thu Aug 30 12:06:06 2018 +0000
@@ -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 */
 



Home | Main Index | Thread Index | Old Index