aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann2015-04-16 12:55:40 -0500
committerEmil Velikov2015-04-28 05:22:31 -0500
commit0c8db0a563857239cfe2b38df1590c571db5a1f1 (patch)
treeba56e7bb8cee71ceef6c020a01ad5a55ff044c81 /nouveau
parente2b531866f9be4b3b1dd9b42f7dda816183792b0 (diff)
downloadexternal-libgbm-0c8db0a563857239cfe2b38df1590c571db5a1f1.tar.gz
external-libgbm-0c8db0a563857239cfe2b38df1590c571db5a1f1.tar.xz
external-libgbm-0c8db0a563857239cfe2b38df1590c571db5a1f1.zip
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 @@
30#include <stdlib.h> 30#include <stdlib.h>
31#include <stdint.h> 31#include <stdint.h>
32#include <string.h> 32#include <string.h>
33#include <strings.h>
33#include <stdbool.h> 34#include <stdbool.h>
34#include <assert.h> 35#include <assert.h>
35#include <errno.h> 36#include <errno.h>