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/strlen.c | |
parent | 3761adc2833099367121aaa13f9905fe7180de61 (diff) |
switch on _KERNEL to load proper include file
Diffstat (limited to 'lib/libc/string/strlen.c')
-rw-r--r-- | lib/libc/string/strlen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/string/strlen.c b/lib/libc/string/strlen.c index de45ec06632..f5d526d9c43 100644 --- a/lib/libc/string/strlen.c +++ b/lib/libc/string/strlen.c @@ -33,10 +33,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strlen.c 5.5 (Berkeley) 1/26/91";*/ -static char *rcsid = "$Id: strlen.c,v 1.1 1995/10/18 08:42:22 deraadt Exp $"; +static char *rcsid = "$Id: strlen.c,v 1.2 1996/05/01 12:57:52 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif size_t strlen(str) |