diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 15:18:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 15:18:54 +0000 |
commit | 469df96ae09cb8b8700f8167e153694ffa5a0793 (patch) | |
tree | 3ecb78d3e22bba035ea065708cfcba3b6ebe400c /sys/lib/libkern/ffs.c | |
parent | a637b83cfb9dcc756a7cfe64f933a94bf3afad4c (diff) |
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 77974d4b994..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 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 |