From 0a2d4d8a04dcfa71f9e8cecb2bd2772df989b228 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Fri, 13 May 2016 09:50:09 +0200 Subject: Add ifdef to compile wireless_info on Mac (#127) --- src/print_wireless_info.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3