Browse Source

acx-mac80211: fix compile errors with the new compat-wireless

SVN-Revision: 24019
Felix Fietkau 15 years ago
parent
commit
2201a230a9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package/acx-mac80211/Makefile

+ 2 - 1
package/acx-mac80211/Makefile

@@ -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