summaryrefslogtreecommitdiffstats
path: root/hw/char
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:07 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:30:21 -0600
commit87917fdc944d8346e40d8e99f77d619b3f6dd80e (patch)
treec9116f8e7978a4ab1727b3dd0faa77ed33ecf3dc /hw/char
parentec3c0717f9dedfb5ae9e634bbd8e4d34050b75ac (diff)
downloadhqemu-87917fdc944d8346e40d8e99f77d619b3f6dd80e.zip
hqemu-87917fdc944d8346e40d8e99f77d619b3f6dd80e.tar.gz
virtio: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-15-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/char')
-rw-r--r--hw/char/virtio-console.c1
-rw-r--r--hw/char/virtio-serial-bus.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/char/virtio-console.c b/hw/char/virtio-console.c
index 2a867cb..2e36481 100644
--- a/hw/char/virtio-console.c
+++ b/hw/char/virtio-console.c
@@ -10,6 +10,7 @@
* the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"
#include "trace.h"
diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c
index 2d2a659..8d5c740 100644
--- a/hw/char/virtio-serial-bus.c
+++ b/hw/char/virtio-serial-bus.c
@@ -18,6 +18,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
+#include "qemu/osdep.h"
#include "qemu/iov.h"
#include "monitor/monitor.h"
#include "qemu/error-report.h"
OpenPOWER on IntegriCloud