summaryrefslogtreecommitdiff
path: root/nouveau
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2015-04-16 10:55:40 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-28 11:22:31 +0100
commit0c8db0a563857239cfe2b38df1590c571db5a1f1 (patch)
treeba56e7bb8cee71ceef6c020a01ad5a55ff044c81 /nouveau
parente2b531866f9be4b3b1dd9b42f7dda816183792b0 (diff)
Add missing <strings.h> 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 <ghackmann@google.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/nouveau.c1
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h>
#include <stdint.h>
#include <string.h>
+#include <strings.h>
#include <stdbool.h>
#include <assert.h>
#include <errno.h>