summaryrefslogtreecommitdiffstats
path: root/madwifi/build/madwifi_kernel_2.6.23.diff
blob: e20b8a3d269e6858d50f25b089aa2023548f6eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- net80211/ieee80211_linux.h.orig	2007-10-13 12:57:22.591778325 +0100
+++ net80211/ieee80211_linux.h	2007-10-13 12:58:34.229517423 +0100
@@ -526,6 +526,10 @@
 	proc_dointvec(ctl, write, filp, buffer, lenp, ppos)
 #endif
 
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22)
+#include <linux/fs.h>
+#endif
+
 void ieee80211_sysctl_vattach(struct ieee80211vap *);
 void ieee80211_sysctl_vdetach(struct ieee80211vap *);
 int ieee80211_proc_vcreate(struct ieee80211vap *, struct file_operations *,