diff options
author | 1996-05-01 12:57:37 +0000 | |
---|---|---|
committer | 1996-05-01 12:57:37 +0000 | |
commit | 0cb9f57f48f50d812a2191862c250544a86d6d03 (patch) | |
tree | 27fb75106ca694c30a70c0f2b440c4fd15e99b45 /lib/libc/string/ffs.c | |
parent | from netbsd: (diff) | |
download | wireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.tar.xz wireguard-openbsd-0cb9f57f48f50d812a2191862c250544a86d6d03.zip |
switch on _KERNEL to load proper include file
Diffstat (limited to 'lib/libc/string/ffs.c')
-rw-r--r-- | lib/libc/string/ffs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/string/ffs.c b/lib/libc/string/ffs.c index 42bc87ddeae..6a8ff265934 100644 --- a/lib/libc/string/ffs.c +++ b/lib/libc/string/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:42:21 deraadt Exp $"; +static char *rcsid = "$Id: ffs.c,v 1.2 1996/05/01 12:57:42 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ +#ifndef _KERNEL #include <string.h> +#else +#include <lib/libkern/libkern.h> +#endif /* * ffs -- vax ffs instruction |