summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 15:43:16 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 15:43:16 +0000
commit96b33884ee111dbe0eb13560ca86daabb27f5b57 (patch)
tree203ffa13ea57b5283a8149d9dc4b5c5d41724328 /sys
parent7884222397b0a4297d3304290c11b785988f9a92 (diff)
You need <netinet/ip.h> if you use "struct ip" for hw checksum.
You never need <netinet/ip_var.h> nor <netinet/in_systm.h>.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/fxp.c3
-rw-r--r--sys/dev/ic/re.c3
-rw-r--r--sys/dev/pci/if_iwm.c4
3 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index cafd245fcb0..ddfe8bc65c7 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.125 2015/11/24 13:33:17 mpi Exp $ */
+/* $OpenBSD: fxp.c,v 1.126 2015/11/24 15:43:15 mpi Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -52,7 +52,6 @@
#include <net/if_media.h>
#include <netinet/in.h>
-#include <netinet/ip.h>
#if NBPFILTER > 0
#include <net/bpf.h>
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index 2f0c2ca5c98..f7de7c87b71 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.184 2015/11/20 03:35:22 dlg Exp $ */
+/* $OpenBSD: re.c,v 1.185 2015/11/24 15:43:15 mpi Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -129,7 +129,6 @@
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <netinet/ip_var.h>
#include <netinet/if_ether.h>
#if NBPFILTER > 0
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index e0cabd02694..4329ad7889b 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.65 2015/11/24 13:45:06 mpi Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.66 2015/11/24 15:43:15 mpi Exp $ */
/*
* Copyright (c) 2014 genua mbh <info@genua.de>
@@ -133,9 +133,7 @@
#include <net/if_media.h>
#include <netinet/in.h>
-#include <netinet/in_systm.h>
#include <netinet/if_ether.h>
-#include <netinet/ip.h>
#include <net80211/ieee80211_var.h>
#include <net80211/ieee80211_amrr.h>