tests: Include string.h for strlen() and memset()
PATCH 1/1 tests: Include string.h for strlen() and memset()
The setversion and getversion tests use these functions so make sure they are included to avoid compiler warnings.
Signed-off-by Thierry Reding <[email protected]>
--- tests/drmtest.h | 1 + 1 file changed, 1 insertion(+)
tests/drmtest.h +1 -0
@@ -27,6 +27,7 @@#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <assert.h> #include <errno.h>
Signature · 1 line
1.8.1.1