diff options
| author | deraadt <> | 1996-05-01 12:57:54 +0000 |
|---|---|---|
| committer | deraadt <> | 1996-05-01 12:57:54 +0000 |
| commit | 2686d34ae2184cc85034a4afb5eacf55b9732934 (patch) | |
| tree | 70f1f93a5298feae7003283e3209b83aec055f19 /src/lib/libc/string/ffs.c | |
| parent | 1bff96637c43ff8d699b4b2095e0b6ad787e7e76 (diff) | |
| download | openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.gz openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.bz2 openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.zip | |
switch on _KERNEL to load proper include file
Diffstat (limited to 'src/lib/libc/string/ffs.c')
| -rw-r--r-- | src/lib/libc/string/ffs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libc/string/ffs.c b/src/lib/libc/string/ffs.c index 42bc87ddea..6a8ff26593 100644 --- a/src/lib/libc/string/ffs.c +++ b/src/lib/libc/string/ffs.c | |||
| @@ -33,10 +33,14 @@ | |||
| 33 | 33 | ||
| 34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
| 35 | /*static char *sccsid = "from: @(#)ffs.c 5.4 (Berkeley) 5/17/90";*/ | 35 | /*static char *sccsid = "from: @(#)ffs.c 5.4 (Berkeley) 5/17/90";*/ |
| 36 | static char *rcsid = "$Id: ffs.c,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $"; | 36 | static char *rcsid = "$Id: ffs.c,v 1.2 1996/05/01 12:57:42 deraadt Exp $"; |
| 37 | #endif /* LIBC_SCCS and not lint */ | 37 | #endif /* LIBC_SCCS and not lint */ |
| 38 | 38 | ||
| 39 | #ifndef _KERNEL | ||
| 39 | #include <string.h> | 40 | #include <string.h> |
| 41 | #else | ||
| 42 | #include <lib/libkern/libkern.h> | ||
| 43 | #endif | ||
| 40 | 44 | ||
| 41 | /* | 45 | /* |
| 42 | * ffs -- vax ffs instruction | 46 | * ffs -- vax ffs instruction |
