From 0c8db0a563857239cfe2b38df1590c571db5a1f1 Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Thu, 16 Apr 2015 10:55:40 -0700 Subject: [PATCH] Add missing includes A couple of files use ffs() without explicitly including strings.h. Some systems will pull in ffs()'s declaration through another header anyway, but not when compiling against bionic in AOSP master. Signed-off-by: Greg Hackmann Reviewed-by: Emil Velikov --- nouveau/nouveau.c | 1 + tests/modetest/modetest.c | 1 + 2 files changed, 2 insertions(+) diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index 687bbb02..0071249e 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 53dfe05b..63d2059c 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include