diff options
author | glebius <glebius@FreeBSD.org> | 2016-01-21 22:34:51 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2016-01-21 22:34:51 +0000 |
commit | a1e3038e6879c24a6f2fa064fc09facb25ecd981 (patch) | |
tree | 76449b0430e7ca5f443ad64bf0f18f8bbe3d7d7d /sys/netinet/tcp_stacks/fastpath.c | |
parent | b0b805d8117e268d4d11c207903b437bdaa5d2a0 (diff) | |
download | FreeBSD-src-a1e3038e6879c24a6f2fa064fc09facb25ecd981.zip FreeBSD-src-a1e3038e6879c24a6f2fa064fc09facb25ecd981.tar.gz |
- Rename cc.h to more meaningful tcp_cc.h.
- Declare it a kernel only include, which it already is.
- Don't include tcp.h implicitly from tcp_cc.h
Diffstat (limited to 'sys/netinet/tcp_stacks/fastpath.c')
-rw-r--r-- | sys/netinet/tcp_stacks/fastpath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_stacks/fastpath.c b/sys/netinet/tcp_stacks/fastpath.c index 626a7dc..c3664df 100644 --- a/sys/netinet/tcp_stacks/fastpath.c +++ b/sys/netinet/tcp_stacks/fastpath.c @@ -86,7 +86,6 @@ __FBSDID("$FreeBSD$"); #define TCPSTATES /* for logging */ -#include <netinet/cc.h> #include <netinet/in.h> #include <netinet/in_kdtrace.h> #include <netinet/in_pcb.h> @@ -100,6 +99,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/icmp6.h> #include <netinet6/in6_pcb.h> #include <netinet6/ip6_var.h> +#include <netinet/tcp.h> #include <netinet/tcp_fsm.h> #include <netinet/tcp_seq.h> #include <netinet/tcp_timer.h> @@ -107,6 +107,7 @@ __FBSDID("$FreeBSD$"); #include <netinet6/tcp6_var.h> #include <netinet/tcpip.h> #include <netinet/tcp_syncache.h> +#include <netinet/tcp_cc.h> #ifdef TCPDEBUG #include <netinet/tcp_debug.h> #endif /* TCPDEBUG */ |