summaryrefslogtreecommitdiff
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-06 13:29:36 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-05-06 14:04:06 +0300
commit7542a6b0d273ba4338028d39bc0e6e8cbfc68898 (patch)
tree3f5744c642cff2c4b5eaa75e78f4cebcb54531ab /drivers/vhost/vhost.c
parentfe729a57c8d85b6b38d62b64215d5f064e682940 (diff)
vhost: drop virtio_net.h dependency
There's no net specific code in vhost.c anymore, don't include the virtio_net.h header. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r--drivers/vhost/vhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index de9441a1b158..beee7f5787e6 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -13,7 +13,7 @@
#include <linux/eventfd.h>
#include <linux/vhost.h>
-#include <linux/virtio_net.h>
+#include <linux/socket.h> /* memcpy_fromiovec */
#include <linux/mm.h>
#include <linux/mmu_context.h>
#include <linux/miscdevice.h>