summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/memcmp.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-06-29 16:18:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-06-29 16:18:53 +0000
commited246735993120217331258eabd7025a1bded4bb (patch)
tree5dc405d8ec210f580c6d58f35d62cf715aada97c /sys/lib/libkern/memcmp.c
parent96ce13720fbe5b256644e5ca290b10e75d698017 (diff)
do not use <string.h> for _STANDALONE, like others
Diffstat (limited to 'sys/lib/libkern/memcmp.c')
-rw-r--r--sys/lib/libkern/memcmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/memcmp.c b/sys/lib/libkern/memcmp.c
index 773398e9387..2c40163f7c4 100644
--- a/sys/lib/libkern/memcmp.c
+++ b/sys/lib/libkern/memcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memcmp.c,v 1.1 2000/06/16 20:20:30 millert Exp $ */
+/* $OpenBSD: memcmp.c,v 1.2 2000/06/29 16:18:52 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,10 +37,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: memcmp.c,v 1.1 2000/06/16 20:20:30 millert Exp $";
+static char *rcsid = "$OpenBSD: memcmp.c,v 1.2 2000/06/29 16:18:52 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>