#include <linux/completion.h>
#include <linux/etherdevice.h>
#include <linux/if_bridge.h>
+#include <linux/rculist.h>
#include <linux/netdevice.h>
#include <net/genetlink.h>
{
netlink_set_err(rtnl, 0, group, error);
}
-#endif /* linux kernel < 2.6.19 */
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
+#define rtnl_notify(skb, net, pid, group, nlh, flags) \
+ ((void) (net), rtnl_notify(skb, pid, group, nlh, flags))
+#define rtnl_set_sk_err(net, group, error) \
+ ((void) (net), rtnl_set_sk_err(group, error))
+#endif /* linux kernel < 2.6.25 */
#endif /* linux/rtnetlink.h wrapper */