projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reduce warnings/errors in libpayload when using picky compiler options
[coreboot.git]
/
payloads
/
libpayload
/
libc
/
strings.c
diff --git
a/payloads/libpayload/libc/strings.c
b/payloads/libpayload/libc/strings.c
index 9a56ba127c38cf3742f86f1c894bf7e96359896d..465ae4f12d3d3d564de3b74922d8513f3c5763de 100644
(file)
--- a/
payloads/libpayload/libc/strings.c
+++ b/
payloads/libpayload/libc/strings.c
@@
-27,6
+27,8
@@
* SUCH DAMAGE.
*/
+#include <strings.h>
+
int ffs(int i)
{
int count = 1;