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/ffs.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/ffs.c')
-rw-r--r-- | sys/lib/libkern/ffs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/ffs.c b/sys/lib/libkern/ffs.c index ce998fcf9a4..08dd6cf6a20 100644 --- a/sys/lib/libkern/ffs.c +++ b/sys/lib/libkern/ffs.c @@ -33,10 +33,14 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)ffs.c 5.4 (Berkeley) 5/17/90";*/ -static char *rcsid = "$Id: ffs.c,v 1.1.1.1 1995/10/18 08:52:49 deraadt Exp $"; +static char *rcsid = "$Id: ffs.c,v 1.2 1996/05/01 15:18:47 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif /* * ffs -- vax ffs instruction |