Skip to contentSkip to conversation

tests: Include string.h for strlen() and memset()

PATCH New Thierry Reding 1 participant 1 message Jan 18, 2013

lore
Share & tools
lore
#0 lore raw

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.

---
 tests/drmtest.h | 1 +
 1 file changed, 1 insertion(+)
tests/drmtest.h +1 -0
index 55bb446..731d1a7 100644
@@ -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