acx-mac80211: fix compile errors with the new compat-wireless
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Nov 2010 15:02:16 +0000 (15:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 17 Nov 2010 15:02:16 +0000 (15:02 +0000)
SVN-Revision: 24019

package/acx-mac80211/Makefile

index 850ce6c3af5dc6938bef5920ac750b59227567c2..fc11cff77233ab08c6596a4e7e7a94f6b4f21512 100644 (file)
@@ -75,7 +75,8 @@ define Build/Compile
                EXTRA_CFLAGS="$(PKG_EXTRA_CFLAGS) -DCONFIG_ACX_MAC80211_VERSION=\"KERNEL_VERSION(2,6,34)\"" \
                LINUXINCLUDE="-I$(STAGING_DIR)/usr/include/mac80211 -I$(LINUX_DIR)/include \
                        -Iarch/$(LINUX_KARCH)/include \
-                       -include $(LINUX_AUTOCONF_FILE)" \
+                       -include $(LINUX_AUTOCONF_FILE) \
+                       -include linux/compat-2.6.h" \
                V="$(V)" \
                modules
 endef