From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v2 3/7] passt.h: Include netinet/if_ether.h before struct ctx declaration Date: Fri, 07 Oct 2022 13:51:02 +0200 Message-ID: <20221007115106.1983846-4-sbrivio@redhat.com> In-Reply-To: <20221007115106.1983846-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2949247763726341410==" --===============2949247763726341410== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 -- 2.35.1 --===============2949247763726341410==--