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/bcmp.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/bcmp.c')
-rw-r--r-- | sys/lib/libkern/bcmp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/lib/libkern/bcmp.c b/sys/lib/libkern/bcmp.c index feaa9655521..53b867e557b 100644 --- a/sys/lib/libkern/bcmp.c +++ b/sys/lib/libkern/bcmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcmp.c,v 1.2 1996/04/19 16:09:19 niklas Exp $ */ +/* $OpenBSD: bcmp.c,v 1.3 1996/05/01 15:18:45 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -35,11 +35,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)bcmp.c 5.6 (Berkeley) 2/24/91";*/ -static char *rcsid = "$OpenBSD: bcmp.c,v 1.2 1996/04/19 16:09:19 niklas Exp $"; +static char *rcsid = "$OpenBSD: bcmp.c,v 1.3 1996/05/01 15:18:45 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else #include <lib/libkern/libkern.h> +#endif /* * bcmp -- vax cmpc3 instruction |