diff options
author | 1996-05-01 12:57:37 +0000 | |
---|---|---|
committer | 1996-05-01 12:57:37 +0000 | |
commit | 0cb9f57f48f50d812a2191862c250544a86d6d03 (patch) | |
tree | 27fb75106ca694c30a70c0f2b440c4fd15e99b45 /lib/libc/string/strcpy.c | |
parent | from netbsd: (diff) | |
download | wireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.tar.xz wireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.zip |
switch on _KERNEL to load proper include file
Diffstat (limited to 'lib/libc/string/strcpy.c')
-rw-r--r-- | lib/libc/string/strcpy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c index 86956cdb957..04bf0fa67fe 100644 --- a/lib/libc/string/strcpy.c +++ b/lib/libc/string/strcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcpy.c,v 1.2 1996/03/09 02:42:57 niklas Exp $ */ +/* $OpenBSD: strcpy.c,v 1.3 1996/05/01 12:57:49 deraadt Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -35,10 +35,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: strcpy.c,v 1.2 1996/03/09 02:42:57 niklas Exp $"; +static char *rcsid = "$Id: strcpy.c,v 1.3 1996/05/01 12:57:49 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif char * strcpy(to, from) |