summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strncmp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 15:18:54 +0000
commit469df96ae09cb8b8700f8167e153694ffa5a0793 (patch)
tree3ecb78d3e22bba035ea065708cfcba3b6ebe400c /sys/lib/libkern/strncmp.c
parenta637b83cfb9dcc756a7cfe64f933a94bf3afad4c (diff)
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/strncmp.c')
-rw-r--r--sys/lib/libkern/strncmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 386c9cf07a3..0a88e080488 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/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 1995/10/18 08:52:50 deraadt Exp $";
+static char *rcsid = "$Id: strncmp.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
strncmp(s1, s2, n)