summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/strncmp.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-27 01:21:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-06-27 01:21:11 +0000
commitc459f242ef56a9df83eb457f12ee7b43110f431a (patch)
tree3cb4a3dc539c34a5727a4e77f67b06db2ed3e16d /sys/lib/libkern/strncmp.c
parent3e9ffedad61d19a1eeda0dfce35be47845312a05 (diff)
there is no string.h in stand land
Diffstat (limited to 'sys/lib/libkern/strncmp.c')
-rw-r--r--sys/lib/libkern/strncmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 6160b8cd7fc..bdfeb0220a0 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/strncmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $ */
+/* $OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -35,11 +35,11 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
-static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 1997/11/07 15:56:50 niklas Exp $";
+static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 1998/06/27 01:21:10 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>