summaryrefslogtreecommitdiffstats
path: root/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-03-05 18:11:22 +0000
committerRoy Marples <roy@marples.name>2014-03-05 18:11:22 +0000
commitc8b42ae14db4a7d6a3fc52dcf4ceefef5308d357 (patch)
tree687f7af19a673db389c42be2fbebb05355d822bb /if-bsd.c
parenta98c82a03d8bc27084ded1cdc6f1b304a7651c3f (diff)
downloaddhcpcd-c8b42ae14db4a7d6a3fc52dcf4ceefef5308d357.tar.xz
Compile and work on OpenBSD.
However, there is a problem deleting both IPv4 and IPv6 subnet routes. Also, there is a problem opening a BPF fd in non blocking mode directly and posix_spawn(3) fails to work so we block that in configure.
Diffstat (limited to 'if-bsd.c')
-rw-r--r--if-bsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/if-bsd.c b/if-bsd.c
index 076be3b4..8d33cb50 100644
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -47,6 +47,7 @@
#elif __APPLE__
/* FIXME: Add apple includes so we can work out SSID */
#else
+# include <net80211/ieee80211.h>
# include <net80211/ieee80211_ioctl.h>
#endif