diff options
| author | cgd <cgd@NetBSD.org> | 1998-03-26 23:53:36 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1998-03-26 23:53:36 +0000 |
| commit | 372e996fc3f2dc179b8b79fe09ecf5abd8ab0b0a (patch) | |
| tree | 7b6250176efedf39071a16a51b1b9685770e471f /lib/libc/string/bcopy.c | |
| parent | ef8dc9789a013dbfe2a8c134d551856ef21fbb05 (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/bcopy.c')
| -rw-r--r-- | lib/libc/string/bcopy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/bcopy.c b/lib/libc/string/bcopy.c index a748f912dbc..a1ca1233139 100644 --- a/lib/libc/string/bcopy.c +++ b/lib/libc/string/bcopy.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $ */ +/* $NetBSD: bcopy.c,v 1.10 1998/03/26 23:53:36 cgd Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,11 +41,11 @@ #if 0 static char sccsid[] = "@(#)bcopy.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $"); +__RCSID("$NetBSD: bcopy.c,v 1.10 1998/03/26 23:53:36 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> |
