diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-13 18:27:55 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-06-13 18:27:55 +0000 |
commit | 8154f2293cec23a0f9b5fc5e969dae73d23eed17 (patch) | |
tree | 260ba08649ad05eee26d64b6708924f28b353c1d /openwrt/target/linux/package/madwifi/patches | |
parent | 16bba997d1bdf5fc71764f7307787e808792fa03 (diff) |
fix madwifi compile when using slab allocator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3937 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/madwifi/patches')
-rw-r--r-- | openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch b/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch new file mode 100644 index 000000000..8de7dc7e4 --- /dev/null +++ b/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch @@ -0,0 +1,11 @@ +diff -ruN madwifi-ng-r1590-20060523/net80211/ieee80211_linux.c madwifi-ng-r1590-20060523-patch/net80211/ieee80211_linux.c +--- madwifi-ng-r1590-20060523/net80211/ieee80211_linux.c 2006-06-13 14:26:25 -04:00 ++++ madwifi-ng-r1590-20060523-patch/net80211/ieee80211_linux.c 2006-06-13 14:26:41 -04:00 +@@ -44,6 +44,7 @@ + #include <linux/etherdevice.h> + #include <linux/if_vlan.h> + #include <linux/vmalloc.h> ++#include <linux/slab.h> + + #include <net/iw_handler.h> + #include <linux/wireless.h> |