aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>1998-06-27 07:30:45 +0000
committerJohn Hay <jhay@FreeBSD.org>1998-06-27 07:30:45 +0000
commita910fdcb888af1d02516d12fc9675da2fcb8c812 (patch)
treed8201d5aeeba7075e7d7971f48bb2894172da806
parent94c69b7e155d890b077639b2758b0730c5a039d4 (diff)
Notes
-rw-r--r--sys/netinet/tcp_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 157631b8f831..39b87babf9d7 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
- * $Id: tcp_var.h,v 1.43 1998/04/24 09:25:39 dg Exp $
+ * $Id: tcp_var.h,v 1.44 1998/05/15 20:11:35 wollman Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -288,10 +288,10 @@ struct tcpstat {
/*
* TCB structure exported to user-land via sysctl(3).
- * Evil hack: declare only if in_pcb.h has been included.
- * Not all of our clients do.
+ * Evil hack: declare only if in_pcb.h and sys/socketvar.h have been
+ * included. Not all of our clients do.
*/
-#ifdef _NETINET_IN_PCB_H_
+#if defined(_NETINET_IN_PCB_H_) && defined(_SYS_SOCKETVAR_H_)
struct xtcpcb {
size_t xt_len;
struct inpcb xt_inp;