/* Compat work for < 2.6.23 */
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23))
+#include <linux/netdevice.h>
+#include <linux/sched.h>
+#include <linux/workqueue.h>
+#include <linux/genetlink.h>
+
/*
* Tell gcc if a function is cold. The compiler will assume any path
* directly leading to the call is unlikely.
}
}
-#else
-
-#define tcf_destroy_chain_compat tcf_destroy_chain
-
-#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) */
-
/* dev_mc_list was replaced with dev_addr_list as of 2.6.23,
* only new member added is da_synced. */
#define dev_addr_list dev_mc_list
static inline void set_freezable(void) {}
#endif /* CONFIG_PM_SLEEP */
+#else
+#define tcf_destroy_chain_compat tcf_destroy_chain
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) */
#endif /* LINUX_26_23_COMPAT_H */