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/strcat.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/strcat.c')
-rw-r--r-- | lib/libc/string/strcat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/string/strcat.c b/lib/libc/string/strcat.c index 10e0aefe124..2958d5e78c1 100644 --- a/lib/libc/string/strcat.c +++ b/lib/libc/string/strcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcat.c,v 1.2 1996/03/09 02:42:56 niklas Exp $ */ +/* $OpenBSD: strcat.c,v 1.3 1996/05/01 12:57:45 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: @(#)strcat.c 5.6 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: strcat.c,v 1.2 1996/03/09 02:42:56 niklas Exp $"; +static char *rcsid = "$Id: strcat.c,v 1.3 1996/05/01 12:57:45 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif char * strcat(s, append) |