Re-introduce inclusion of config.h for libnbcompat, since the namespace.h trick
no longer works.
This commit is contained in:
parent
2c0a144aa4
commit
767def4642
|
@ -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 @@ __weak_alias(strlcat, _strlcat)
|
|||
# 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
|
||||
|
|
|
@ -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 @@ __weak_alias(strlcpy, _strlcpy)
|
|||
# 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
|
||||
|
|
Loading…
Reference in New Issue