summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarkus Armbruster2015-03-17 18:29:20 +0100
committerMarkus Armbruster2015-06-22 18:20:40 +0200
commitd49b68364414d649b8e26232f2a600d415611662 (patch)
treefbde3c1efaf1c7b431d5015d5c7b2855ec7b963c /util
parentqerror: Finally unused, clean up (diff)
downloadqemu-d49b68364414d649b8e26232f2a600d415611662.tar.gz
qemu-d49b68364414d649b8e26232f2a600d415611662.tar.xz
qemu-d49b68364414d649b8e26232f2a600d415611662.zip
qerror: Move #include out of qerror.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/osdep.c1
-rw-r--r--util/qemu-error.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/osdep.c b/util/osdep.c
index f938b69466..0092bb61b9 100644
--- a/util/osdep.c
+++ b/util/osdep.c
@@ -47,6 +47,7 @@ extern int madvise(caddr_t, size_t, int);
#include "qemu-common.h"
#include "qemu/sockets.h"
+#include "qemu/error-report.h"
#include "monitor/monitor.h"
static bool fips_enabled = false;
diff --git a/util/qemu-error.c b/util/qemu-error.c
index 16d2d07649..77ea6c6145 100644
--- a/util/qemu-error.c
+++ b/util/qemu-error.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include "monitor/monitor.h"
+#include "qemu/error-report.h"
/*
* Print to current monitor if we have one, else to stderr.