From: Alexis Hildebrandt Date: Fri, 13 May 2016 07:50:09 +0000 (+0200) Subject: Add ifdef to compile wireless_info on Mac (#127) X-Git-Tag: 2.11~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a2d4d8a04dcfa71f9e8cecb2bd2772df989b228;p=i3%2Fi3status Add ifdef to compile wireless_info on Mac (#127) --- diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 4f92507..25e167f 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -15,6 +15,10 @@ #define IW_ESSID_MAX_SIZE 32 #endif +#ifdef __APPLE__ +#define IW_ESSID_MAX_SIZE 32 +#endif + #ifdef __FreeBSD__ #include #include