summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/strncpy.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1998-06-27 01:07:59 +0000
committermickey <mickey@openbsd.org>1998-06-27 01:07:59 +0000
commitc72bd19b7f9fefbe6ef6fba55f03e09a315a21f6 (patch)
treef5c311b2281c1023221d890e6505685bf072ee28 /sys/lib/libkern/strncpy.c
parentfix for non-ansi compilers (diff)
downloadwireguard-openbsd-c72bd19b7f9fefbe6ef6fba55f03e09a315a21f6.tar.xz
wireguard-openbsd-c72bd19b7f9fefbe6ef6fba55f03e09a315a21f6.zip
stand guys don't have string.h as well
Diffstat (limited to 'sys/lib/libkern/strncpy.c')
-rw-r--r--sys/lib/libkern/strncpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/strncpy.c b/sys/lib/libkern/strncpy.c
index 45c8e04ae8a..b1cb68f3fee 100644
--- a/sys/lib/libkern/strncpy.c
+++ b/sys/lib/libkern/strncpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncpy.c,v 1.3 1997/11/07 15:56:51 niklas Exp $ */
+/* $OpenBSD: strncpy.c,v 1.4 1998/06/27 01:07:59 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -38,10 +38,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncpy.c 5.6 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strncpy.c,v 1.3 1997/11/07 15:56:51 niklas Exp $";
+static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 1998/06/27 01:07:59 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>