From 5af668018e795d9c17119260794d60fed627ba1e Mon Sep 17 00:00:00 2001 From: des Date: Wed, 14 Jan 2004 08:36:36 +0000 Subject: #include , which may define inline versions of some of the functions in libkern. Without this, parts of the kernel would reference a non-existent (undeclared and undefined) ffs() function; the only reason this didn't break the kernel build is that gcc happens to have a built-in ffs() and incorrectly fails to warn about the lack of prototypes for built-in functions. --- sys/sys/libkern.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index e4a7880..cab6c97 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -43,6 +43,8 @@ #include #endif +#include + /* BCD conversions. */ extern u_char const bcd2bin_data[]; extern u_char const bin2bcd_data[]; -- cgit v1.1