diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-10-25 21:19:34 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-10-26 15:16:44 +0000 |
commit | 77fe40cf2f391c7e014eb8c06f3cbd7bedf1bdde (patch) | |
tree | 45a201e3e7bd1015763923c22abacd2443c9431b /sys/netinet/in_proto.c | |
parent | d16d0b6b1981178a33abf5ec297fb132199e902b (diff) | |
download | src-77fe40cf2f391c7e014eb8c06f3cbd7bedf1bdde.tar.gz src-77fe40cf2f391c7e014eb8c06f3cbd7bedf1bdde.zip |
netinet*: add back necessary headers
The LINT successful build was provided by the includes that SCTP
pulled in.
Fixes: 92e190f11fe872f7b1f1a1a22c1f10edeb3b7f8d
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r-- | sys/netinet/in_proto.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index fa0530500a15..e52176f83f7d 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -51,7 +51,10 @@ __FBSDID("$FreeBSD$"); #include <sys/queue.h> #include <sys/sysctl.h> +#include <net/if.h> +#include <net/if_var.h> #include <netinet/in.h> +#include <netinet/in_var.h> /* * While this file provides the domain and protocol switch tables for IPv4, it @@ -60,20 +63,14 @@ __FBSDID("$FreeBSD$"); * support compile out everything but these sysctl nodes. */ #ifdef INET - -#ifdef SCTP -#include <netinet/in_pcb.h> -#include <netinet/sctp_pcb.h> -#include <netinet/sctp.h> -#include <netinet/sctp_var.h> -#endif - /* netinet/raw_ip.c */ extern struct protosw rip_protosw; /* netinet/udp_usrreq.c */ extern struct protosw udp_protosw, udplite_protosw; /* netinet/tcp_usrreq.c */ extern struct protosw tcp_protosw; +/* netinet/sctp_usrreq.c */ +extern struct protosw sctp_seqpacket_protosw, sctp_stream_protosw; FEATURE(inet, "Internet Protocol version 4"); |