--- net80211/ieee80211_linux.h 2007-08-02 08:55:32.000000000 +0200 +++ net80211/ieee80211_linux.h 2007-08-02 08:56:02.000000000 +0200 @@ -539,6 +539,10 @@ static __inline unsigned long msecs_to_j 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 *,