From 7728cff37044943b05c4f9de5e9c6ef3d9e14a12 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Mon, 1 Aug 2016 14:34:39 +0100 Subject: Make print_disk_info, print_eth_info and print_wireless_info compile on NetBSD without warnings. --- src/print_wireless_info.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/print_wireless_info.c') diff --git a/src/print_wireless_info.c b/src/print_wireless_info.c index 70dbdb4..14879eb 100644 --- a/src/print_wireless_info.c +++ b/src/print_wireless_info.c @@ -57,6 +57,12 @@ #define IW_ESSID_MAX_SIZE IEEE80211_NWID_LEN #endif +#ifdef __NetBSD__ +#include +#include +#define IW_ESSID_MAX_SIZE IEEE80211_NWID_LEN +#endif + #include "i3status.h" #define WIRELESS_INFO_FLAG_HAS_ESSID (1 << 0) -- cgit v1.2.3