--- 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 +#endif + void ieee80211_sysctl_vattach(struct ieee80211vap *); void ieee80211_sysctl_vdetach(struct ieee80211vap *); int ieee80211_proc_vcreate(struct ieee80211vap *, struct file_operations *,