diff options
author | 1996-05-01 15:18:44 +0000 | |
---|---|---|
committer | 1996-05-01 15:18:44 +0000 | |
commit | cf4fa783b43670546879db49c8201247cc03bfe8 (patch) | |
tree | d2a14552b2b309b31b09b0c093d1a0e860372125 /sys/lib/libkern/strncasecmp.c | |
parent | sparc needs memset, compiler calls it automatically (diff) | |
download | wireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.tar.xz wireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.zip |
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/strncasecmp.c')
-rw-r--r-- | sys/lib/libkern/strncasecmp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/lib/libkern/strncasecmp.c b/sys/lib/libkern/strncasecmp.c index a0c6633adeb..5249050ddd8 100644 --- a/sys/lib/libkern/strncasecmp.c +++ b/sys/lib/libkern/strncasecmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strncasecmp.c,v 1.1 1996/02/29 13:27:50 niklas Exp $ */ +/* $OpenBSD: strncasecmp.c,v 1.2 1996/05/01 15:18:52 deraadt Exp $ */ /* * Copyright (c) 1994 Christian E. Hopps @@ -30,10 +30,14 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$Id: strncasecmp.c,v 1.1 1996/02/29 13:27:50 niklas Exp $"; +static char *rcsid = "$Id: strncasecmp.c,v 1.2 1996/05/01 15:18:52 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif int strncasecmp(s1, s2, n) |