On Sat, Feb 26, 2011 at 2:39 AM, Benjamin Poirier <benjamin.poir...@gmail.com> wrote: > Add support to the emulated hardware to insert vlan tags in packets > going from the guest to the network. > > Signed-off-by: Benjamin Poirier <benjamin.poir...@gmail.com> > Cc: Igor V. Kovalenko <igor.v.kovale...@gmail.com> > Cc: Jason Wang <jasow...@redhat.com> > Cc: Michael S. Tsirkin <m...@redhat.com> > --- > hw/rtl8139.c | 123 > +++++++++++++++++++++++++++++++++++++++++++++------------- > 1 files changed, 96 insertions(+), 27 deletions(-) > > diff --git a/hw/rtl8139.c b/hw/rtl8139.c > index a22530c..35ccd3d 100644 > --- a/hw/rtl8139.c > +++ b/hw/rtl8139.c > @@ -47,6 +47,8 @@ > * Darwin) > */ > > +#include <net/ethernet.h>
This header is only available on Linux. Please remove.