git: 9983b0126bba - stable/13 - Unbreak builds having SCTP support compiled in

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Thu, 02 Feb 2023 00:01:29 UTC
The branch stable/13 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=9983b0126bbad586e7b1748719da5c8132ec3e4d

commit 9983b0126bbad586e7b1748719da5c8132ec3e4d
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2022-11-07 07:50:51 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-02-02 00:01:06 +0000

    Unbreak builds having SCTP support compiled in
    
    Including sctp_var.h requires INET to be defined if IPv4 support
    is needed.
    
    (cherry picked from commit 126f8248ccfee8e9252a8b449694b8619738599f)
---
 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 62de3ef92bf2..750ddfc3a46f 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"