summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-21 22:23:52 +0000
committerderaadt <deraadt@openbsd.org>2015-01-21 22:23:52 +0000
commit714230e5542e86db18aff950340c4e49e10d8c71 (patch)
tree1199f7df929712a7c81cc98168bc045010fc9324
parentOoops, no need to include sys/cdefs.h. (diff)
downloadwireguard-openbsd-714230e5542e86db18aff950340c4e49e10d8c71.tar.xz
wireguard-openbsd-714230e5542e86db18aff950340c4e49e10d8c71.zip
To satisfy kernel grovellers and bad (but document) sysctl
practice, be pragmatic and #include <sys/timeout.h> for struct tcpb (glorious namespace violation) ok kettenis millert sthen
-rw-r--r--sys/netinet/tcp_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 6c5d227d240..c55c5df6881 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.105 2014/01/23 23:51:29 henning Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.106 2015/01/21 22:23:52 deraadt Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -35,6 +35,8 @@
#ifndef _NETINET_TCP_VAR_H_
#define _NETINET_TCP_VAR_H_
+#include <sys/timeout.h>
+
/*
* Kernel variables for tcp.
*/