]> git.sur5r.net Git - i3/i3status/commitdiff
Add ifdef to compile wireless_info on Mac (#127)
authorAlexis Hildebrandt <afh@surryhill.net>
Fri, 13 May 2016 07:50:09 +0000 (09:50 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 13 May 2016 07:50:09 +0000 (09:50 +0200)
src/print_wireless_info.c

index 4f92507b01572ea7cbdef2d15f8aa820ba5eac6c..25e167fc07a6df9ed1d32be288ad08920c7d4f00 100644 (file)
 #define IW_ESSID_MAX_SIZE 32
 #endif
 
+#ifdef __APPLE__
+#define IW_ESSID_MAX_SIZE 32
+#endif
+
 #ifdef __FreeBSD__
 #include <sys/param.h>
 #include <sys/ioctl.h>