summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_crypto_tkip.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:45:08 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:45:08 +0000
commitf83b0dac3652830f33e53ab2d11a9d0945cb4a86 (patch)
treecab30afb1f72b5c2b352cf80fec675f53d330d4b /sys/net80211/ieee80211_crypto_tkip.c
parent37a6daf2960b4307d7f92853384985b2f9725837 (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/net80211/ieee80211_crypto_tkip.c')
-rw-r--r--sys/net80211/ieee80211_crypto_tkip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c
index 33fb71f88e2..20b84f15821 100644
--- a/sys/net80211/ieee80211_crypto_tkip.c
+++ b/sys/net80211/ieee80211_crypto_tkip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_crypto_tkip.c,v 1.24 2015/07/15 22:16:42 deraadt Exp $ */
+/* $OpenBSD: ieee80211_crypto_tkip.c,v 1.25 2015/11/24 13:45:06 mpi Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -33,7 +33,6 @@
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_media.h>
-#include <net/if_arp.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>