summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/memchr.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/memchr.c
parent3e9ffedad61d19a1eeda0dfce35be47845312a05 (diff)
there is no string.h in stand land
Diffstat (limited to 'sys/lib/libkern/memchr.c')
-rw-r--r--sys/lib/libkern/memchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libkern/memchr.c b/sys/lib/libkern/memchr.c
index e5553d96693..6224cd97ded 100644
--- a/sys/lib/libkern/memchr.c
+++ b/sys/lib/libkern/memchr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memchr.c,v 1.1 1997/11/04 19:07:58 chuck Exp $ */
+/* $OpenBSD: memchr.c,v 1.2 1998/06/27 01:21:03 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@
static char *rcsid = "$NetBSD: memchr.c,v 1.2 1997/10/24 18:10:30 mjacob Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>