These have the common structures that are shared with the windows kernel extension.
Bug - https://github.com/openvswitch/ovs/issues/11. Signed-off-by: Saurabh Shah <ssaur...@vmware.com> Reported-by: Alin Seardean <aserd...@cloudbasesolutions.com> --- include/linux/openvswitch.h | 2 ++ lib/netlink-protocol.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index 271a14e..9f94138 100644 --- a/include/linux/openvswitch.h +++ b/include/linux/openvswitch.h @@ -40,8 +40,10 @@ #ifndef _LINUX_OPENVSWITCH_H #define _LINUX_OPENVSWITCH_H 1 +#ifndef OVS_WIN_DP #include <linux/types.h> #include <linux/if_ether.h> +#endif /** * struct ovs_header - header for OVS Generic Netlink messages. diff --git a/lib/netlink-protocol.h b/lib/netlink-protocol.h index 8938055..d4fb9bf 100644 --- a/lib/netlink-protocol.h +++ b/lib/netlink-protocol.h @@ -29,9 +29,11 @@ * on other platforms it directly defines the structures and macros itself. */ +#ifndef OVS_WIN_DP #include <stdint.h> #include <sys/socket.h> #include "util.h" +#endif #ifdef HAVE_NETLINK #include <linux/netlink.h> -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev