[ovs-dev] [PATCH_v5 18/26] Assorted #include additions
ben at skyportsystems.com
ben at skyportsystems.com
Fri Mar 25 21:10:37 UTC 2016
From: Ben Warren <ben at skyportsystems.com>
Necessary in preparation for making ofp-util.h public
Signed-off-by: Ben Warren <ben at skyportsystems.com>
---
ofproto/ofproto-dpif-ipfix.c | 1 +
ovn/controller/ofctrl.c | 3 +++
ovn/controller/physical.c | 2 ++
ovn/controller/pinctrl.c | 1 +
ovn/lib/actions.c | 1 +
ovn/lib/expr.c | 1 +
tests/test-ovn.c | 1 +
tests/test-ovsdb.c | 1 +
8 files changed, 11 insertions(+)
diff --git a/ofproto/ofproto-dpif-ipfix.c b/ofproto/ofproto-dpif-ipfix.c
index 46d0bb1..6d088a6 100644
--- a/ofproto/ofproto-dpif-ipfix.c
+++ b/ofproto/ofproto-dpif-ipfix.c
@@ -22,6 +22,7 @@
#include "flow.h"
#include "hash.h"
#include "hmap.h"
+#include "netdev.h"
#include "openvswitch/list.h"
#include "openvswitch/ofpbuf.h"
#include "ofproto.h"
diff --git a/ovn/controller/ofctrl.c b/ovn/controller/ofctrl.c
index b0f0932..98e778d 100644
--- a/ovn/controller/ofctrl.c
+++ b/ovn/controller/ofctrl.c
@@ -14,8 +14,10 @@
*/
#include <config.h>
+#include "byte-order.h"
#include "ofctrl.h"
#include "dirs.h"
+#include "hash.h"
#include "openvswitch/dynamic-string.h"
#include "hmap.h"
#include "openvswitch/match.h"
@@ -30,6 +32,7 @@
#include "physical.h"
#include "rconn.h"
#include "socket-util.h"
+#include "util.h"
#include "vswitch-idl.h"
VLOG_DEFINE_THIS_MODULE(ofctrl);
diff --git a/ovn/controller/physical.c b/ovn/controller/physical.c
index 4eb253f..61f9eb6 100644
--- a/ovn/controller/physical.c
+++ b/ovn/controller/physical.c
@@ -15,6 +15,8 @@
#include <config.h>
#include "physical.h"
+#include "byte-order.h"
+#include "flow.h"
#include "lflow.h"
#include "openvswitch/match.h"
#include "ofctrl.h"
diff --git a/ovn/controller/pinctrl.c b/ovn/controller/pinctrl.c
index 3fcab99..bd8bb40 100644
--- a/ovn/controller/pinctrl.c
+++ b/ovn/controller/pinctrl.c
@@ -20,6 +20,7 @@
#include "coverage.h"
#include "dirs.h"
#include "dp-packet.h"
+#include "flow.h"
#include "lport.h"
#include "ofp-actions.h"
#include "ovn/lib/actions.h"
diff --git a/ovn/lib/actions.c b/ovn/lib/actions.c
index 44957c7..e65169f 100644
--- a/ovn/lib/actions.c
+++ b/ovn/lib/actions.c
@@ -18,6 +18,7 @@
#include "actions.h"
#include <stdarg.h>
#include <stdbool.h>
+#include "byte-order.h"
#include "compiler.h"
#include "openvswitch/dynamic-string.h"
#include "expr.h"
diff --git a/ovn/lib/expr.c b/ovn/lib/expr.c
index c4a600f..b3c7ce3 100644
--- a/ovn/lib/expr.c
+++ b/ovn/lib/expr.c
@@ -15,6 +15,7 @@
*/
#include <config.h>
+#include "byte-order.h"
#include "expr.h"
#include "openvswitch/dynamic-string.h"
#include "json.h"
diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 52e0ac3..fae105f 100644
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -21,6 +21,7 @@
#include <sys/wait.h>
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
+#include "flow.h"
#include "openvswitch/match.h"
#include "ofp-actions.h"
#include "openvswitch/ofpbuf.h"
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c
index e6af729..dbb6897 100644
--- a/tests/test-ovsdb.c
+++ b/tests/test-ovsdb.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "byte-order.h"
#include "command-line.h"
#include "openvswitch/dynamic-string.h"
#include "json.h"
--
2.5.0
More information about the dev
mailing list