diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-09-10 13:15:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-09-10 13:15:02 +0000 |
commit | 84c57e6eb6634d77b7ca532d56c8cea48348267d (patch) | |
tree | 6fc1df049eec916bbcba8a47ad867d23bb50b3f5 /ws80211_utils.c | |
parent | 0fc383a98fc99cbfe2832f3cffae16b8ffa86eca (diff) |
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
Diffstat (limited to 'ws80211_utils.c')
-rw-r--r-- | ws80211_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <strings.h> #include <errno.h> #include <unistd.h> @@ -705,4 +705,4 @@ gchar *ws80211_chan_type_to_str(int type _U_) { return NULL; } -#endif /* HAVE_LIBNL */ +#endif /* HAVE_LIBNL && HAVE_NL80211 */ |