On older kernels that don't have if_link.h, we use our own, limited
version. This version doesn't include the netlink header, causing
problems where we were relying on it to define the types in
datapath-protocol.h. Therefore, directly include it, since it is
better to be explicit about it anyways.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
* we really need from <linux/if_link.h> is struct rtnl_link_stats64, which in
* turn only really needs __u64. */
#include <linux/types.h>
+#include <linux/netlink.h>
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)
#endif
#include <linux/if_link.h>
+#include <linux/netlink.h>
#define ODP_MAX 256 /* Maximum number of datapaths. */