diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-24 13:45:08 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-24 13:45:08 +0000 |
commit | f83b0dac3652830f33e53ab2d11a9d0945cb4a86 (patch) | |
tree | cab30afb1f72b5c2b352cf80fec675f53d330d4b /sys/dev/pci/if_rtwn.c | |
parent | 37a6daf2960b4307d7f92853384985b2f9725837 (diff) |
No need to include <net/if_arp.h>
This header is only needed because <netinet/if_ether.h> declares a
structure that needs it. But it turns out that <net/if.h> already
includes it as workaround.
A proper solution would be to stop declarting "struct ether_arp"
there. But no driver should need this header.
Diffstat (limited to 'sys/dev/pci/if_rtwn.c')
-rw-r--r-- | sys/dev/pci/if_rtwn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_rtwn.c b/sys/dev/pci/if_rtwn.c index 65107f56afe..a2e87189f0e 100644 --- a/sys/dev/pci/if_rtwn.c +++ b/sys/dev/pci/if_rtwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rtwn.c,v 1.9 2015/11/24 13:33:17 mpi Exp $ */ +/* $OpenBSD: if_rtwn.c,v 1.10 2015/11/24 13:45:06 mpi Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -42,7 +42,6 @@ #include <net/bpf.h> #endif #include <net/if.h> -#include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> |