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