summaryrefslogtreecommitdiff
path: root/src/print_wireless_info.c
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2019-07-22 10:09:56 +0200
committerGitHub <noreply@github.com>2019-07-22 10:09:56 +0200
commit40aeb7bc44aa0fc8373acb8b57debb1c285e7009 (patch)
tree74749e68d9fc3f25496058d9ae35f17f800b7de7 /src/print_wireless_info.c
parent86a4ff0333620189a9c5d6e4f89cf9c235b8a8fd (diff)
parent667e38ababb69b68ddcd3c453bd78f022198559a (diff)
Merge pull request #360 from 0-wiz-0/master
On NetBSD, include sys/socket.h for AF_INET{,6}.
Diffstat (limited to 'src/print_wireless_info.c')
-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