diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 12:57:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 12:57:55 +0000 |
commit | 4751af531fdb8e456be9dffe13ca007170251814 (patch) | |
tree | 4acd15841ba1d9d65cca1697ac923b0ef55c11f7 /lib/libc/string/strcat.c | |
parent | 3761adc2833099367121aaa13f9905fe7180de61 (diff) |
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) |