Message ID | 1476891177-6512-1-git-send-email-cascardo@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Oct 19, 2016 at 01:32:57PM -0200, Thadeu Lima de Souza Cascardo wrote: > The missing include was needed for struct in6_addr. > > Otherwise, this build failure would occur. > > In file included from ovn/lib/actions.c:23: > ovn/lib/ovn-dhcp.h:163:21: error: field has incomplete type 'struct in6_addr' > > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> > --- > > Needed for 2.6 branch as well. Thanks, applied to master and branch-2.6.
diff --git a/ovn/lib/ovn-dhcp.h b/ovn/lib/ovn-dhcp.h index 65a066b..ecfcc03 100644 --- a/ovn/lib/ovn-dhcp.h +++ b/ovn/lib/ovn-dhcp.h @@ -17,6 +17,7 @@ #ifndef OVN_DHCP_H #define OVN_DHCP_H 1 +#include <netinet/in.h> #include "openvswitch/hmap.h" #include "hash.h"
The missing include was needed for struct in6_addr. Otherwise, this build failure would occur. In file included from ovn/lib/actions.c:23: ovn/lib/ovn-dhcp.h:163:21: error: field has incomplete type 'struct in6_addr' Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com> --- Needed for 2.6 branch as well. --- ovn/lib/ovn-dhcp.h | 1 + 1 file changed, 1 insertion(+)