From: Jasper Lievisse Adriaanse Date: Wed, 1 Feb 2017 07:26:13 +0000 (+0100) Subject: Include sys/select.h on OpenBSD (#198) X-Git-Tag: 2.12~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=897d03ed5e0a5f794b5cb1edb9f01a6cc0b18859;p=i3%2Fi3status 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 --- 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