datapath: Include <linux/netlink.h> directly into flow.h.
authorBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 22:38:25 +0000 (14:38 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 13 Dec 2010 18:20:24 +0000 (10:20 -0800)
While doing test builds on numerous kernel versions I found that one build
failed because "struct nlattr" wasn't visible from flow.h.  I guess that
we accidentally depend on <linux/netlink.h> being included indirectly, but
this didn't always happen.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/flow.h

index d58196e7f08e7d42cd2d4f1b17e660215d08ef8d..808e731fc9d85cc04a3aac70f96ab3a20e81e4f0 100644 (file)
@@ -10,6 +10,7 @@
 #define FLOW_H 1
 
 #include <linux/kernel.h>
+#include <linux/netlink.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/rcupdate.h>