passt.h: Include netinet/if_ether.h before struct ctx declaration
This saves some hassle when including passt.h, as we need ETH_ALEN there. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
51fa9bfd7b
commit
f4e1e88e1d
1 changed files with 2 additions and 0 deletions
2
passt.h
2
passt.h
|
@ -133,6 +133,8 @@ struct ip6_ctx {
|
||||||
struct in6_addr dns_fwd;
|
struct in6_addr dns_fwd;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include <netinet/if_ether.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct ctx - Execution context
|
* struct ctx - Execution context
|
||||||
* @mode: Operation mode, qemu/UNIX domain socket or namespace/tap
|
* @mode: Operation mode, qemu/UNIX domain socket or namespace/tap
|
||||||
|
|
Loading…
Reference in a new issue