Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c047fcd2 authored by Grant Likely's avatar Grant Likely Committed by David S. Miller
Browse files

virtio: add missing include to virtio_net.h



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: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 726474b8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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