Browse Source

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>
Michael S. Tsirkin 12 years ago
parent
commit
7542a6b0d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/vhost/vhost.c

+ 1 - 1
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>