From 84c57e6eb6634d77b7ca532d56c8cea48348267d Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 10 Sep 2012 13:15:02 +0000 Subject: From Pontus Fuchs. new check for the configure script to disable the tool bar if the nl80211.h is not good enough. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973 svn path=/trunk/; revision=44839 --- ws80211_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ws80211_utils.c') diff --git a/ws80211_utils.c b/ws80211_utils.c index 95c6d20fc3..fca1701fcc 100644 --- a/ws80211_utils.c +++ b/ws80211_utils.c @@ -33,7 +33,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "ws80211_utils.h" -#ifdef HAVE_LIBNL +#if defined(HAVE_LIBNL) && defined(HAVE_NL80211 #include #include #include @@ -705,4 +705,4 @@ gchar *ws80211_chan_type_to_str(int type _U_) { return NULL; } -#endif /* HAVE_LIBNL */ +#endif /* HAVE_LIBNL && HAVE_NL80211 */ -- cgit v1.2.3