[PATCH] tests: Include string.h for strlen() and memset()
Thierry Reding
thierry.reding at avionic-design.de
Fri Jan 18 04:22:38 PST 2013
The setversion and getversion tests use these functions so make sure
they are included to avoid compiler warnings.
Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
---
tests/drmtest.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/drmtest.h b/tests/drmtest.h
index 55bb446..731d1a7 100644
--- a/tests/drmtest.h
+++ b/tests/drmtest.h
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <errno.h>
--
1.8.1.1
More information about the dri-devel
mailing list