summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/memchr.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1998-06-27 01:21:03 +0000
committermickey <mickey@openbsd.org>1998-06-27 01:21:03 +0000
commit05ce469606850395c4337100a2b76a043e48a404 (patch)
tree352c73bbb126ed718a9f93dec55bd126f032f443 /sys/lib/libkern/memchr.c
parenthmm, how could i miss this one? (diff)
downloadwireguard-openbsd-05ce469606850395c4337100a2b76a043e48a404.tar.xz
wireguard-openbsd-05ce469606850395c4337100a2b76a043e48a404.zip
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>