summaryrefslogtreecommitdiffstats
path: root/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-03-18 21:16:33 +0000
committerRoy Marples <roy@marples.name>2009-03-18 21:16:33 +0000
commit194b1fcb081f274e5759158267bf930f1bf57708 (patch)
tree0cc242b152beb1847c00569e2ce9e5474a1820e7 /if-bsd.c
parent918338f28048ad570ce0fcaf148d05c2bde26ed2 (diff)
downloaddhcpcd-194b1fcb081f274e5759158267bf930f1bf57708.tar.xz
Fix compile on DragonFly.
Thanks to Hasso Tepper.
Diffstat (limited to 'if-bsd.c')
-rw-r--r--if-bsd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/if-bsd.c b/if-bsd.c
index 542ed6c6..8d5529ca 100644
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -38,7 +38,11 @@
#include <net/if_types.h>
#include <net/route.h>
#include <netinet/in.h>
-#include <net80211/ieee80211_ioctl.h>
+#ifdef __DragonFly__
+# include <netproto/802_11/ieee80211_ioctl.h>
+#else
+# include <net80211/ieee80211_ioctl.h>
+#endif
#include <errno.h>
#include <fnmatch.h>