summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreplanet <emeric.planet@gmail.com>2018-05-15 13:34:36 +0200
committereplanet <emeric.planet@gmail.com>2018-05-15 13:34:36 +0200
commit9a8106fab9879a4ae0046868f8e11346cbb9a05d (patch)
tree9771aca0c6607fcdb810513bd735f42fe69a9ef2
parentc983ff96f216a5c549eed18242b121a80a6d1a2b (diff)
Fix MacOS build
-rw-r--r--src/print_wireless_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c
index c3b5270..efdd59b 100644
--- a/src/print_wireless_info.c
+++ b/src/print_wireless_info.c
@@ -16,6 +16,7 @@
#endif
#ifdef __APPLE__
+#include <sys/socket.h>
#define IW_ESSID_MAX_SIZE 32
#endif