summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parente2b531866f9be4b3b1dd9b42f7dda816183792b0 (diff)
downloadlibdrm-0c8db0a563857239cfe2b38df1590c571db5a1f1.tar.gz
libdrm-0c8db0a563857239cfe2b38df1590c571db5a1f1.tar.bz2
libdrm-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 'tests')
-rw-r--r--tests/modetest/modetest.c1
1 files changed, 1 insertions, 0 deletions
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 <inttypes.h>
#include <unistd.h>
#include <string.h>
+#include <strings.h>
#include <errno.h>
#include <sys/poll.h>
#include <sys/time.h>