aboutsummaryrefslogtreecommitdiff
path: root/port/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'port/strlcpy.c')
-rw-r--r--port/strlcpy.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/port/strlcpy.c b/port/strlcpy.c
index 248f2ea3bd7b..3de72a640c59 100644
--- a/port/strlcpy.c
+++ b/port/strlcpy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strlcpy.c,v 1.1 2015/01/22 02:36:15 christos Exp $ */
+/* $NetBSD: strlcpy.c,v 1.2 2025/02/11 17:48:30 christos Exp $ */
/* $OpenBSD: strlcpy.c,v 1.7 2003/04/12 21:56:39 millert Exp $ */
/*
@@ -22,9 +22,12 @@
#include "config.h"
#endif
+#ifdef HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
+#endif
+
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strlcpy.c,v 1.1 2015/01/22 02:36:15 christos Exp $");
+__RCSID("$NetBSD: strlcpy.c,v 1.2 2025/02/11 17:48:30 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef _LIBC