Skip to content

Commit

Permalink
virtio: add missing include to virtio_net.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Likely authored and David S. Miller committed May 1, 2009
1 parent 726474b commit c047fcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/virtio_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c047fcd

Please sign in to comment.