summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/strcmp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-01 15:18:44 +0000
committerderaadt <deraadt@openbsd.org>1996-05-01 15:18:44 +0000
commitcf4fa783b43670546879db49c8201247cc03bfe8 (patch)
treed2a14552b2b309b31b09b0c093d1a0e860372125 /sys/lib/libkern/strcmp.c
parentsparc needs memset, compiler calls it automatically (diff)
downloadwireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.tar.xz
wireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.zip
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/strcmp.c')
-rw-r--r--sys/lib/libkern/strcmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/strcmp.c b/sys/lib/libkern/strcmp.c
index 6e73b6686a2..9dd06cb389e 100644
--- a/sys/lib/libkern/strcmp.c
+++ b/sys/lib/libkern/strcmp.c
@@ -36,10 +36,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcmp.c 5.5 (Berkeley) 1/26/91";*/
-static char *rcsid = "$Id: strcmp.c,v 1.1.1.1 1995/10/18 08:52:50 deraadt Exp $";
+static char *rcsid = "$Id: strcmp.c,v 1.2 1996/05/01 15:18:49 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
+#ifndef _KERNEL
#include <string.h>
+#else
+#include <lib/libkern/libkern.h>
+#endif
/*
* Compare strings.