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/strncmp.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/strncmp.c')
-rw-r--r-- | lib/libc/string/strncmp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/string/strncmp.c b/lib/libc/string/strncmp.c index 0638d4dcf2a..43217391d00 100644 --- a/lib/libc/string/strncmp.c +++ b/lib/libc/string/strncmp.c @@ -33,10 +33,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/ -static char *rcsid = "$Id: strncmp.c,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $"; +static char *rcsid = "$Id: strncmp.c,v 1.2 1996/05/01 12:57:54 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif int strncmp(s1, s2, n) |