From 5feed38c2139a2cea46b4b540303ef255d4cafc7 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Fri, 10 Feb 2023 12:19:31 +0100 Subject: Do not include "qemu/error-report.h" in headers that do not need it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include it in the .c files instead that use the error reporting functions. Message-Id: <20230210111931.1115489-1-thuth@redhat.com> Reviewed-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- util/vhost-user-server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/vhost-user-server.c') diff --git a/util/vhost-user-server.c b/util/vhost-user-server.c index 145eb17c08..40f36ea214 100644 --- a/util/vhost-user-server.c +++ b/util/vhost-user-server.c @@ -8,6 +8,7 @@ * later. See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" +#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qemu/vhost-user-server.h" #include "block/aio-wait.h" -- cgit v1.2.3