git: 126f8248ccfe - main - Unbreak builds having SCTP support compiled in

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Mon, 07 Nov 2022 08:52:41 UTC
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=126f8248ccfee8e9252a8b449694b8619738599f

commit 126f8248ccfee8e9252a8b449694b8619738599f
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-11-07 07:50:51 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-11-07 07:50:51 +0000

    Unbreak builds having SCTP support compiled in
    
    Including sctp_var.h requires INET to be defined if IPv4 support
    is needed.
---
 sys/netinet/ip_input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 88fd4f5e4def..b33d1e1b6697 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -35,6 +35,7 @@
 __FBSDID("$FreeBSD$");
 
 #include "opt_bootp.h"
+#include "opt_inet.h"
 #include "opt_ipstealth.h"
 #include "opt_ipsec.h"
 #include "opt_route.h"