From 897d03ed5e0a5f794b5cb1edb9f01a6cc0b18859 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Wed, 1 Feb 2017 08:26:13 +0100 Subject: 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 --- src/print_wireless_info.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/print_wireless_info.c') 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 #include #include +#include #include #include #include -- cgit v1.2.3