summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2016-05-13 09:50:09 +0200
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-05-13 09:50:09 +0200
commit0a2d4d8a04dcfa71f9e8cecb2bd2772df989b228 (patch)
treec5af0a7fbf3f6dfd4e28965c1af2afc09933cbc4
parent4807be8b5f188244b893c0d3466f32ed4b864d89 (diff)
Add ifdef to compile wireless_info on Mac (#127)
-rw-r--r--src/print_wireless_info.c4
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>