Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/string Re-introduce inclusion of config.h for libnb...



details:   https://anonhg.NetBSD.org/src/rev/2c69263e2e65
branches:  trunk
changeset: 526064:2c69263e2e65
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Wed Apr 24 17:45:14 2002 +0000

description:
Re-introduce inclusion of config.h for libnbcompat, since the namespace.h trick
no longer works.

diffstat:

 lib/libc/string/strlcat.c |  8 ++++++--
 lib/libc/string/strlcpy.c |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r 3e68457641e0 -r 2c69263e2e65 lib/libc/string/strlcat.c
--- a/lib/libc/string/strlcat.c Wed Apr 24 17:35:10 2002 +0000
+++ b/lib/libc/string/strlcat.c Wed Apr 24 17:45:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strlcat.c,v 1.13 2002/04/24 12:25:09 kleink Exp $      */
+/*     $NetBSD: strlcat.c,v 1.14 2002/04/24 17:45:14 bjh21 Exp $       */
 /*     $OpenBSD: strlcat.c,v 1.4 2001/01/12 22:55:23 millert Exp $     */
 
 /*
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcat.c,v 1.13 2002/04/24 12:25:09 kleink Exp $");
+__RCSID("$NetBSD: strlcat.c,v 1.14 2002/04/24 17:45:14 bjh21 Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef _LIBC
@@ -46,6 +46,10 @@
 # endif
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #if !HAVE_STRLCAT
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the
diff -r 3e68457641e0 -r 2c69263e2e65 lib/libc/string/strlcpy.c
--- a/lib/libc/string/strlcpy.c Wed Apr 24 17:35:10 2002 +0000
+++ b/lib/libc/string/strlcpy.c Wed Apr 24 17:45:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strlcpy.c,v 1.11 2002/04/24 12:25:09 kleink Exp $      */
+/*     $NetBSD: strlcpy.c,v 1.12 2002/04/24 17:45:15 bjh21 Exp $       */
 /*     $OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp $     */
 
 /*
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcpy.c,v 1.11 2002/04/24 12:25:09 kleink Exp $");
+__RCSID("$NetBSD: strlcpy.c,v 1.12 2002/04/24 17:45:15 bjh21 Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef _LIBC
@@ -46,6 +46,10 @@
 # endif
 #endif
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #if !HAVE_STRLCPY
 /*
  * Copy src to string dst of size siz.  At most siz-1 characters



Home | Main Index | Thread Index | Old Index