Add support for the latest kernels that don't define AUTOCONF_INCLUDED
[madwifi/.git] / regression / ccmp / test_ccmp.c
index ff755d41dadeb114a903893b8c7b2407abfa10e7..80be62f6b960a6719ee9931ade64e77af4dea116 100644 (file)
@@ -44,7 +44,7 @@
  * you want; e.g. insmod ccmp_test tests=7 will run only test MPDUs
  * 1, 2, and 3.
  */
-#ifndef AUTOCONF_INCLUDED
+#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
 #include <linux/config.h>
 #endif
 #include <linux/version.h>