summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrestis <orestisf1993@gmail.com>2018-05-15 14:46:06 +0300
committerGitHub <noreply@github.com>2018-05-15 14:46:06 +0300
commitffe41cc9440d0404101dae9420f91d2e0cdf3468 (patch)
tree9771aca0c6607fcdb810513bd735f42fe69a9ef2
parentc983ff96f216a5c549eed18242b121a80a6d1a2b (diff)
parent9a8106fab9879a4ae0046868f8e11346cbb9a05d (diff)
Merge pull request #281 from eplanet/fix_warnings
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