summaryrefslogtreecommitdiff
path: root/sys/dev/ic/fxp.c
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/dev/ic/fxp.c
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/dev/ic/fxp.c')
-rw-r--r--sys/dev/ic/fxp.c3
1 files changed, 1 insertions, 2 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>