19 lines
459 B
Text
19 lines
459 B
Text
$NetBSD: patch-ab,v 1.3 2015/07/09 11:56:59 jperkin Exp $
|
|
|
|
Don't redefine _DIAGASSERT.
|
|
|
|
--- strlcat.c.orig 2005-05-10 20:48:24.000000000 +0000
|
|
+++ strlcat.c
|
|
@@ -23,3 +23,8 @@
|
|
|
|
+#if defined(HAVE_NBCOMPAT_H)
|
|
+#include <nbcompat.h>
|
|
+#include <nbcompat/cdefs.h>
|
|
+#else
|
|
#include <sys/cdefs.h>
|
|
+#endif
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
|
@@ -37,2 +42,3 @@ size_t
|
|
strlcat(char *dst, const char *src, size_t siz);
|
|
+#undef _DIAGASSERT
|
|
#define _DIAGASSERT(a)
|