summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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