diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2017-02-01 08:26:13 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2017-01-31 23:26:13 -0800 |
commit | 897d03ed5e0a5f794b5cb1edb9f01a6cc0b18859 (patch) | |
tree | 24513ef0fd89b7d5b524e62bf5030970220affe2 | |
parent | 67ee99f71cbe6310a35bf7151fd7b40e9f9a2290 (diff) |
Include sys/select.h on OpenBSD (#198)
Fixes a compilation error:
/usr/include/net80211/ieee80211_ioctl.h:339: warning: implicit declaration of function 'howmany'
/usr/include/net80211/ieee80211_ioctl.h:339: error: 'NBBY' undeclared here (not in a function)
/usr/include/net80211/ieee80211_ioctl.h:339: error: variably modified 'nr_rxmcs' at file scope
-rw-r--r-- | src/print_wireless_info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 6db6488..13f8184 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -49,6 +49,7 @@ #include <sys/ioctl.h> #include <sys/socket.h> #include <net/if.h> +#include <sys/select.h> #include <sys/types.h> #include <netinet/in.h> #include <netinet/if_ether.h> |