diff options
author | Thomas Klausner <tk@giga.or.at> | 2019-07-21 21:17:59 +0200 |
---|---|---|
committer | Thomas Klausner <tk@giga.or.at> | 2019-07-21 21:17:59 +0200 |
commit | 667e38ababb69b68ddcd3c453bd78f022198559a (patch) | |
tree | 74749e68d9fc3f25496058d9ae35f17f800b7de7 /src | |
parent | 86a4ff0333620189a9c5d6e4f89cf9c235b8a8fd (diff) |
On NetBSD, include sys/socket.h for AF_INET{,6}.
Diffstat (limited to 'src')
-rw-r--r-- | src/print_wireless_info.c | 1 |
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 |