Add support for the latest kernels that don't define AUTOCONF_INCLUDED
[madwifi/.git] / net80211 / ieee80211_scan.c
index 4bf14bfe374411c231ecf1b93f7f89fce4ec3bda..f52a21cf2bb97f1a5f08df1544ce1e180ef2f2a2 100644 (file)
@@ -37,7 +37,7 @@
 /*
  * IEEE 802.11 scanning support.
  */
-#ifndef AUTOCONF_INCLUDED
+#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
 #include <linux/config.h>
 #endif
 #include <linux/version.h>