fix madwifi compile when using slab allocator

SVN-Revision: 3937
lede-17.01
Mike Baker 2006-06-13 18:27:55 +00:00
parent 6a3c1ce2d4
commit 1acf26b4b9
1 changed files with 11 additions and 0 deletions

View File

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