[PATCH 1/2] util: add missing include <string.h>

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 6 11:42:01 PST 2015


Required by strcmp, otherwise we'll error out of the build with the
following commit.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/util/format.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/util/format.c b/tests/util/format.c
index c365ceb..52b3f97 100644
--- a/tests/util/format.c
+++ b/tests/util/format.c
@@ -29,6 +29,7 @@
 
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include <drm_fourcc.h>
 
-- 
2.1.3



More information about the dri-devel mailing list