From d0daf2d571e36c3cd287dcf208db95ca8ca876eb Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 22 Feb 1998 09:12:57 +0000 Subject: Add the same protection as other files have for _KERNEL, which at least works for the kernel. --- lib/libc/string/bcopy.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/libc/string') diff --git a/lib/libc/string/bcopy.c b/lib/libc/string/bcopy.c index 7641aa47d8d..a748f912dbc 100644 --- a/lib/libc/string/bcopy.c +++ b/lib/libc/string/bcopy.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcopy.c,v 1.8 1998/02/03 18:49:10 perry Exp $ */ +/* $NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,11 +41,15 @@ #if 0 static char sccsid[] = "@(#)bcopy.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: bcopy.c,v 1.8 1998/02/03 18:49:10 perry Exp $"); +__RCSID("$NetBSD: bcopy.c,v 1.9 1998/02/22 09:12:57 mycroft Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include +#else +#include +#endif /* * sizeof(word) MUST BE A POWER OF TWO -- cgit