Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ipf/dist/ipsend fix the build: tcp...



details:   https://anonhg.NetBSD.org/src/rev/e5814b3a52a8
branches:  trunk
changeset: 318570:e5814b3a52a8
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 29 15:59:07 2018 +0000
description:
fix the build: tcpiphdr is now defined in tcp_var.h and tcp_var.h needs
tcp_timer.h. This struct move is more trouble than its worth. It breaks
header compatibility with other BSD's and can't be really removed because
it is an installed header that will break other 3rd party software. I
suggest that it gets reverted!

diffstat:

 external/bsd/ipf/dist/ipsend/ipsend.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r aa88390afd34 -r e5814b3a52a8 external/bsd/ipf/dist/ipsend/ipsend.h
--- a/external/bsd/ipf/dist/ipsend/ipsend.h     Sun Apr 29 15:47:01 2018 +0000
+++ b/external/bsd/ipf/dist/ipsend/ipsend.h     Sun Apr 29 15:59:07 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsend.h,v 1.1.1.2 2012/07/22 13:44:36 darrenr Exp $   */
+/*     $NetBSD: ipsend.h,v 1.2 2018/04/29 15:59:07 christos Exp $      */
 
 /*
  * ipsend.h (C) 1997-1998 Darren Reed
@@ -29,7 +29,9 @@
 #ifdef linux
 #include <linux/sockios.h>
 #endif
-#include "netinet/tcpip.h"
+#include <netinet/tcp_timer.h>
+#include <netinet/tcp_var.h>
+#include <netinet/tcpip.h>
 #include "ipt.h"
 
 extern int     resolve __P((char *, char *));



Home | Main Index | Thread Index | Old Index