diff options
author | 1996-05-01 15:18:44 +0000 | |
---|---|---|
committer | 1996-05-01 15:18:44 +0000 | |
commit | cf4fa783b43670546879db49c8201247cc03bfe8 (patch) | |
tree | d2a14552b2b309b31b09b0c093d1a0e860372125 /sys/lib/libkern/bzero.c | |
parent | sparc needs memset, compiler calls it automatically (diff) | |
download | wireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.tar.xz wireguard-openbsd-cf4fa783b43670546879db49c8201247cc03bfe8.zip |
switch on _KERNEL to pull in correct headers
Diffstat (limited to 'sys/lib/libkern/bzero.c')
-rw-r--r-- | sys/lib/libkern/bzero.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/bzero.c b/sys/lib/libkern/bzero.c index b631f9e37fc..e2f924a2615 100644 --- a/sys/lib/libkern/bzero.c +++ b/sys/lib/libkern/bzero.c @@ -33,10 +33,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)bzero.c 5.7 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: bzero.c,v 1.1.1.1 1995/10/18 08:52:49 deraadt Exp $"; +static char *rcsid = "$Id: bzero.c,v 1.2 1996/05/01 15:18:46 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif /* * bzero -- vax movc5 instruction |