summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcmp.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1998-03-26 23:53:36 +0000
committercgd <cgd@NetBSD.org>1998-03-26 23:53:36 +0000
commit372e996fc3f2dc179b8b79fe09ecf5abd8ab0b0a (patch)
tree7b6250176efedf39071a16a51b1b9685770e471f /lib/libc/string/strcmp.c
parentef8dc9789a013dbfe2a8c134d551856ef21fbb05 (diff)
when deciding whether to use standard system include files or libkern.h,
check _STANDALONE as well as _KERNEL. _KERNEL is incorrect for use when building boot blocks, and it looks like the rest of the code is already using _STANDALONE for this purpose.
Diffstat (limited to 'lib/libc/string/strcmp.c')
-rw-r--r--lib/libc/string/strcmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c
index c27593d6e9e..cf3b97420c5 100644
--- a/lib/libc/string/strcmp.c
+++ b/lib/libc/string/strcmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strcmp.c,v 1.9 1998/02/03 18:49:18 perry Exp $ */
+/* $NetBSD: strcmp.c,v 1.10 1998/03/26 23:53:37 cgd Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,11 +41,11 @@
#if 0
static char sccsid[] = "@(#)strcmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: strcmp.c,v 1.9 1998/02/03 18:49:18 perry Exp $");
+__RCSID("$NetBSD: strcmp.c,v 1.10 1998/03/26 23:53:37 cgd Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>