diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2016-05-13 09:50:09 +0200 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-05-13 09:50:09 +0200 |
commit | 0a2d4d8a04dcfa71f9e8cecb2bd2772df989b228 (patch) | |
tree | c5af0a7fbf3f6dfd4e28965c1af2afc09933cbc4 /src/print_wireless_info.c | |
parent | 4807be8b5f188244b893c0d3466f32ed4b864d89 (diff) |
Add ifdef to compile wireless_info on Mac (#127)
Diffstat (limited to 'src/print_wireless_info.c')
-rw-r--r-- | src/print_wireless_info.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <sys/param.h> #include <sys/ioctl.h> |