From 068a7b812ea898b2419c03a3db19eb92a31f19b8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 9 May 2012 10:35:37 +0200 Subject: [PATCH] v8: Fix the compilation of the standalone test on GNU/Linux systems MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Without including string.h, memcmp will not be known and will lead to the following error: v8main.cpp:59:5: error: ‘::strcmp’ has not been declared v8main.cpp:60:5: error: ‘::strcmp’ has not been declared ... Change-Id: I82382ca930f654c090a78a39f54abc8fb0a88f63 Reviewed-by: Simon Hausmann Reviewed-by: Kent Hansen Reviewed-by: Girish Ramakrishnan --- tests/auto/v8/v8main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/v8/v8main.cpp b/tests/auto/v8/v8main.cpp index 2b48f3b..9af1de4 100644 --- a/tests/auto/v8/v8main.cpp +++ b/tests/auto/v8/v8main.cpp @@ -41,6 +41,7 @@ #include "v8test.h" #include +#include #include #define RUN_TEST(testname) { \ -- 2.7.4