--- a/madwifi-0.9.4/net80211/ieee80211_linux.h	2007-08-30 03:59:13.000000000 +0200
+++ b/madwifi-0.9.4/net80211/ieee80211_linux.h	2008-09-06 20:14:29.000000000 +0200
@@ -242,6 +242,9 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
 #define __skb_append(a,b,c)	__skb_append(a,b)
 #endif
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
+#define __skb_append(a,b,c)	__skb_queue_after(c,a,b)
+#endif
 
 /*
  * Per-node power-save queue definitions.  Beware of control
