virtio: add missing include to virtio_net.h
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 1 May 2009 22:34:02 +0000 (15:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2009 22:34:02 +0000 (15:34 -0700)
virtio_net.h uses the macro ETH_ALEN which is defined in linux/if_ether.h.
Discovered when hacking on virtio-over-pci patches.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/virtio_net.h

index 242348bb3766a69e45d0255575bf108a7eb4a744..cec79adbe3ea60934ad69f3ef00484f12b97b065 100644 (file)
@@ -4,6 +4,7 @@
  * compatible drivers/servers. */
 #include <linux/types.h>
 #include <linux/virtio_config.h>
+#include <linux/if_ether.h>
 
 /* The ID for virtio_net */
 #define VIRTIO_ID_NET  1