aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins.m4 b/plugins.m4
index ce38a93..354b4bc 100644
--- a/plugins.m4
+++ b/plugins.m4
@@ -568,7 +568,7 @@ fi
# WLAN
if test "$PLUGIN_WIRELESS" = "yes"; then
- AC_CHECK_HEADERS(linux/wireless.h, [has_wireless_header="true"], [has_wireless_header="false"])
+ AC_CHECK_HEADERS(linux/wireless.h, [has_wireless_header="true"], [has_wireless_header="false"], [#include <sys/socket.h>])
if test "$has_wireless_header" = "true"; then
PLUGINS="$PLUGINS plugin_wireless.o"
AC_DEFINE(PLUGIN_WIRELESS,1,[wireless plugin])