[PATCH 2/6] tests/*version: add missing string.h header

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

 



Prodives memset() and strlen(), used in tests/setversion
tests/getversion respectively.

Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>
---
 tests/getversion.c | 1 +
 tests/setversion.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/getversion.c b/tests/getversion.c
index 711d376..53d1d35 100644
--- a/tests/getversion.c
+++ b/tests/getversion.c
@@ -25,6 +25,7 @@
  *
  */
 
+#include <string.h>
 #include "drmtest.h"
 
 /**
diff --git a/tests/setversion.c b/tests/setversion.c
index 3aaf7cc..5a5d01c 100644
--- a/tests/setversion.c
+++ b/tests/setversion.c
@@ -26,6 +26,7 @@
  */
 
 #include <limits.h>
+#include <string.h>
 #include "drmtest.h"
 
 /**
-- 
1.8.4

_______________________________________________
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