aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-user.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:23 +0000
commit9b8bfe21bee37ced21aa57c89388c2ebea8c3f31 (patch)
tree72d54fd3bf8032a69fb9add22f9ecc55672cdd2f /hw/virtio/vhost-user.c
parent21cbfe5f37aaa3a13d3af28454e762c05be67429 (diff)
downloadqemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.zip
qemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.tar.gz
qemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.tar.bz2
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/virtio/vhost-user.c')
-rw-r--r--hw/virtio/vhost-user.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
index 1b6c5ac..7fde137 100644
--- a/hw/virtio/vhost-user.c
+++ b/hw/virtio/vhost-user.c
@@ -8,6 +8,7 @@
*
*/
+#include "qemu/osdep.h"
#include "hw/virtio/vhost.h"
#include "hw/virtio/vhost-backend.h"
#include "hw/virtio/virtio-net.h"
@@ -18,8 +19,6 @@
#include "exec/ram_addr.h"
#include "migration/migration.h"
-#include <fcntl.h>
-#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/un.h>