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/ic/ar9285.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/ic/ar9285.c')
-rw-r--r-- | sys/dev/ic/ar9285.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ar9285.c b/sys/dev/ic/ar9285.c index 1e56a49549e..fbea63af535 100644 --- a/sys/dev/ic/ar9285.c +++ b/sys/dev/ic/ar9285.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9285.c,v 1.23 2015/11/24 13:33:17 mpi Exp $ */ +/* $OpenBSD: ar9285.c,v 1.24 2015/11/24 13:45:06 mpi Exp $ */ /*- * Copyright (c) 2009-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -45,7 +45,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> |