summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-08-29 21:31:50 +0100
committerRob Clark <robclark@freedesktop.org>2013-08-30 11:36:20 -0400
commit0100473de648f29dd5abbd3fabd0f73c0bd5bfd5 (patch)
treefd0d27a870ada85a599cec56d3a258b22a3571e6
parentdba6bec3ab5ba966a6ee3527e711c51e47229f32 (diff)
tests/*version: add missing string.h header
Prodives memset() and strlen(), used in tests/setversion tests/getversion respectively. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--tests/getversion.c1
-rw-r--r--tests/setversion.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/getversion.c b/tests/getversion.c
index 711d3765..53d1d354 100644
--- a/tests/getversion.c
+++ b/tests/getversion.c
@@ -25,6 +25,7 @@
*
*/
+#include <string.h>
#include "drmtest.h"
/**
diff --git a/tests/setversion.c b/tests/setversion.c
index 3aaf7cc2..5a5d01cd 100644
--- a/tests/setversion.c
+++ b/tests/setversion.c
@@ -26,6 +26,7 @@
*/
#include <limits.h>
+#include <string.h>
#include "drmtest.h"
/**