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@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>
dri-devel@lists.freedesktop.org