From: Stefan Weil Date: Fri, 6 Feb 2015 21:43:15 +0000 (+0100) Subject: stubs: Fix warning caused by missing include statement X-Git-Tag: pull-nvme-20200902~4308^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2822c1b65b54341dee33a85c96d419512f2b2da2;p=qemu-nvme.git stubs: Fix warning caused by missing include statement Warning from the Sparse static analysis tool: stubs/qtest.c:14:6: warning: symbol 'qtest_allowed' was not declared. Should it be static? Add the missing include statement which declares qtest_allowed. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- diff --git a/stubs/qtest.c b/stubs/qtest.c index e671ed8e8e..dc17594bb6 100644 --- a/stubs/qtest.c +++ b/stubs/qtest.c @@ -8,7 +8,7 @@ * See the COPYING file in the top-level directory. */ -#include "qemu-common.h" +#include "sysemu/qtest.h" /* Needed for qtest_allowed() */ bool qtest_allowed;