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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
---
 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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux