On NetBSD, include sys/socket.h for AF_INET{,6}.

This commit is contained in:
Thomas Klausner 2019-07-21 21:17:59 +02:00
parent 86a4ff0333
commit 667e38abab

View File

@ -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