From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id C9E545A026D; Mon, 10 Oct 2022 10:35:48 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v3 3/7] passt.h: Include netinet/if_ether.h before struct ctx declaration Date: Mon, 10 Oct 2022 10:35:44 +0200 Message-Id: <20221010083548.831309-4-sbrivio@redhat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221010083548.831309-1-sbrivio@redhat.com> References: <20221010083548.831309-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: EEEGZSB5MN2Z6WKXQBPXS47F5CRMLGGT X-Message-ID-Hash: EEEGZSB5MN2Z6WKXQBPXS47F5CRMLGGT X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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