From f4e1e88e1dce3a25f3cdd8d52a1f097236911e70 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 6 Oct 2022 13:23:07 +0200 Subject: [PATCH] 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 Reviewed-by: David Gibson --- passt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/passt.h b/passt.h index 48e1096..de79e7b 100644 --- a/passt.h +++ b/passt.h @@ -133,6 +133,8 @@ struct ip6_ctx { struct in6_addr dns_fwd; }; +#include + /** * struct ctx - Execution context * @mode: Operation mode, qemu/UNIX domain socket or namespace/tap