Hi,

I have just removed a bunch of useless include netinet/in_var.h
from the machine independent drivers.  I suspect that they are also
not needed in the architecture specific network drivers.  Unfortunately
I don't have any of these machines.  So if you have access to one
of

    macppc mvme68k octeon sgi sparc vax

could you please test if this diff compiles.

ok?

bluhm

Index: arch/macppc/dev/if_mc.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/macppc/dev/if_mc.c,v
retrieving revision 1.14
diff -u -p -r1.14 if_mc.c
--- arch/macppc/dev/if_mc.c     21 Apr 2010 03:03:26 -0000      1.14
+++ arch/macppc/dev/if_mc.c     7 Aug 2013 00:57:57 -0000
@@ -56,7 +56,6 @@
 #include <netinet/in.h>
 #include <netinet/if_ether.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #endif
 
Index: arch/mvme68k/dev/if_ie.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/mvme68k/dev/if_ie.c,v
retrieving revision 1.40
diff -u -p -r1.40 if_ie.c
--- arch/mvme68k/dev/if_ie.c    10 Oct 2012 04:52:16 -0000      1.40
+++ arch/mvme68k/dev/if_ie.c    7 Aug 2013 00:57:57 -0000
@@ -120,7 +120,6 @@ Mode of operation:
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/mvme88k/dev/if_ie.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/mvme88k/dev/if_ie.c,v
retrieving revision 1.45
diff -u -p -r1.45 if_ie.c
--- arch/mvme88k/dev/if_ie.c    10 Oct 2012 04:52:16 -0000      1.45
+++ arch/mvme88k/dev/if_ie.c    7 Aug 2013 00:57:57 -0000
@@ -119,7 +119,6 @@ Mode of operation:
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/octeon/dev/if_cnmac.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/octeon/dev/if_cnmac.c,v
retrieving revision 1.10
diff -u -p -r1.10 if_cnmac.c
--- arch/octeon/dev/if_cnmac.c  12 Apr 2013 15:22:26 -0000      1.10
+++ arch/octeon/dev/if_cnmac.c  7 Aug 2013 00:57:57 -0000
@@ -66,7 +66,6 @@
 
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 
 #include <machine/bus.h>
Index: arch/sgi/dev/if_iec.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sgi/dev/if_iec.c,v
retrieving revision 1.8
diff -u -p -r1.8 if_iec.c
--- arch/sgi/dev/if_iec.c       22 May 2012 19:24:59 -0000      1.8
+++ arch/sgi/dev/if_iec.c       7 Aug 2013 00:57:57 -0000
@@ -101,7 +101,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #endif
 
Index: arch/sgi/dev/if_mec.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sgi/dev/if_mec.c,v
retrieving revision 1.25
diff -u -p -r1.25 if_mec.c
--- arch/sgi/dev/if_mec.c       3 Oct 2012 22:46:09 -0000       1.25
+++ arch/sgi/dev/if_mec.c       7 Aug 2013 00:57:57 -0000
@@ -85,7 +85,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #endif
 
Index: arch/sgi/hpc/if_sq.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sgi/hpc/if_sq.c,v
retrieving revision 1.8
diff -u -p -r1.8 if_sq.c
--- arch/sgi/hpc/if_sq.c        28 May 2012 17:03:35 -0000      1.8
+++ arch/sgi/hpc/if_sq.c        7 Aug 2013 00:57:57 -0000
@@ -57,7 +57,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #endif
 
Index: arch/sparc/dev/be.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/be.c,v
retrieving revision 1.43
diff -u -p -r1.43 be.c
--- arch/sparc/dev/be.c 28 Nov 2008 02:44:17 -0000      1.43
+++ arch/sparc/dev/be.c 7 Aug 2013 00:57:57 -0000
@@ -46,7 +46,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/sparc/dev/hme.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/hme.c,v
retrieving revision 1.62
diff -u -p -r1.62 hme.c
--- arch/sparc/dev/hme.c        13 Aug 2009 17:01:31 -0000      1.62
+++ arch/sparc/dev/hme.c        7 Aug 2013 00:57:57 -0000
@@ -59,7 +59,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #include <netinet/tcp.h>
Index: arch/sparc/dev/if_gem_sbus.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/if_gem_sbus.c,v
retrieving revision 1.1
diff -u -p -r1.1 if_gem_sbus.c
--- arch/sparc/dev/if_gem_sbus.c        13 Jul 2009 19:53:58 -0000      1.1
+++ arch/sparc/dev/if_gem_sbus.c        7 Aug 2013 00:57:57 -0000
@@ -48,7 +48,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/sparc/dev/if_ie.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/if_ie.c,v
retrieving revision 1.42
diff -u -p -r1.42 if_ie.c
--- arch/sparc/dev/if_ie.c      10 Oct 2012 04:52:16 -0000      1.42
+++ arch/sparc/dev/if_ie.c      7 Aug 2013 00:57:57 -0000
@@ -126,7 +126,6 @@ Mode of operation:
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/sparc/dev/if_ti_sbus.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/if_ti_sbus.c,v
retrieving revision 1.1
diff -u -p -r1.1 if_ti_sbus.c
--- arch/sparc/dev/if_ti_sbus.c 29 Aug 2009 21:30:48 -0000      1.1
+++ arch/sparc/dev/if_ti_sbus.c 7 Aug 2013 00:57:57 -0000
@@ -26,7 +26,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/sparc/dev/qe.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/qe.c,v
retrieving revision 1.33
diff -u -p -r1.33 qe.c
--- arch/sparc/dev/qe.c 11 Nov 2010 17:46:58 -0000      1.33
+++ arch/sparc/dev/qe.c 7 Aug 2013 00:57:57 -0000
@@ -54,7 +54,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/sparc/dev/qec.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/sparc/dev/qec.c,v
retrieving revision 1.19
diff -u -p -r1.19 qec.c
--- arch/sparc/dev/qec.c        5 Sep 2010 18:10:10 -0000       1.19
+++ arch/sparc/dev/qec.c        7 Aug 2013 00:57:57 -0000
@@ -47,7 +47,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif
Index: arch/vax/if/if_de.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/arch/vax/if/if_de.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_de.c
--- arch/vax/if/if_de.c 9 Oct 2008 00:43:48 -0000       1.22
+++ arch/vax/if/if_de.c 7 Aug 2013 00:57:57 -0000
@@ -62,7 +62,6 @@
 #ifdef INET
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
-#include <netinet/in_var.h>
 #include <netinet/ip.h>
 #include <netinet/if_ether.h>
 #endif

Reply via email to