summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 8b2d210..6215704 100644
--- a/src/print_wireless_info.c
+++ b/src/print_wireless_info.c
@@ -61,6 +61,7 @@
#ifdef __NetBSD__
#include <sys/types.h>
+#include <sys/socket.h>
#include <net80211/ieee80211.h>
#define IW_ESSID_MAX_SIZE IEEE80211_NWID_LEN
#endif