]> git.sur5r.net Git - i3/i3status/commitdiff
Include sys/select.h on OpenBSD (#198)
authorJasper Lievisse Adriaanse <jasper@humppa.nl>
Wed, 1 Feb 2017 07:26:13 +0000 (08:26 +0100)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Wed, 1 Feb 2017 07:26:13 +0000 (23:26 -0800)
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

index 6db648847ac47b4b28c3e5c691e521768eab489f..13f8184a706e2457b97798778e66213a922c2671 100644 (file)
@@ -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>