diff options
author | 2013-10-17 16:27:39 +0000 | |
---|---|---|
committer | 2013-10-17 16:27:39 +0000 | |
commit | dc5728648b28d91cc99d2d69701421acb75285aa (patch) | |
tree | 600cb1e0f3ff13e01aba5b7d1ab60f81cb69574a /sys/netinet/tcp_usrreq.c | |
parent | remove capability to do a.out (diff) | |
download | wireguard-openbsd-dc5728648b28d91cc99d2d69701421acb75285aa.tar.xz wireguard-openbsd-dc5728648b28d91cc99d2d69701421acb75285aa.zip |
The header file netinet/in_var.h included netinet6/in6_var.h. This
created a bunch of useless dependencies. Remove this implicit
inclusion and do an explicit #include <netinet6/in6_var.h> when it
is needed.
OK mpi@ henning@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 9fd519615ab..d979aee0c1d 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.114 2013/08/12 21:57:16 bluhm Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.115 2013/10/17 16:27:44 bluhm Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -100,6 +100,10 @@ #include <netinet/tcpip.h> #include <netinet/tcp_debug.h> +#ifdef INET6 +#include <netinet6/in6_var.h> +#endif + #ifndef TCP_SENDSPACE #define TCP_SENDSPACE 1024*16 #endif |