diff mbox series

[ovs-dev] ofp-parse: Include missing ofp-actions.h.

Message ID 1519219959-6507-1-git-send-email-i.maximets@samsung.com
State Accepted
Headers show
Series [ovs-dev] ofp-parse: Include missing ofp-actions.h. | expand

Commit Message

Ilya Maximets Feb. 21, 2018, 1:32 p.m. UTC
This fixes MacOS build:

  lib/ofp-parse.c:167:16:
          error: use of undeclared identifier 'IPPORT_FTP'

  lib/ofp-parse.c:171:16:
          error: use of undeclared identifier 'IPPORT_TFTP'

CC: Ben Pfaff <blp@ovn.org>
Fixes: 0d71302e36c4 ("ofp-util, ofp-parse: Break up into many separate modules.")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
---
 lib/ofp-parse.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ben Pfaff Feb. 21, 2018, 6:42 p.m. UTC | #1
On Wed, Feb 21, 2018 at 04:32:39PM +0300, Ilya Maximets wrote:
> This fixes MacOS build:
> 
>   lib/ofp-parse.c:167:16:
>           error: use of undeclared identifier 'IPPORT_FTP'
> 
>   lib/ofp-parse.c:171:16:
>           error: use of undeclared identifier 'IPPORT_TFTP'
> 
> CC: Ben Pfaff <blp@ovn.org>
> Fixes: 0d71302e36c4 ("ofp-util, ofp-parse: Break up into many separate modules.")
> Signed-off-by: Ilya Maximets <i.maximets@samsung.com>

Thanks, applied to master.
diff mbox series

Patch

diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c
index 3e8b553..4feb82e 100644
--- a/lib/ofp-parse.c
+++ b/lib/ofp-parse.c
@@ -20,6 +20,7 @@ 
 #include "byte-order.h"
 #include "openvswitch/match.h"
 #include "openvswitch/meta-flow.h"
+#include "openvswitch/ofp-actions.h"
 #include "openvswitch/ofp-flow.h"
 #include "openvswitch/ofp-match.h"
 #include "openvswitch/ofp-table.h"