Add ifdef to compile wireless_info on Mac (#127)

This commit is contained in:
Alexis Hildebrandt 2016-05-13 09:50:09 +02:00 committed by Michael Stapelberg
parent 4807be8b5f
commit 0a2d4d8a04

View File

@ -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>