Re: [dpdk-dev] [PATCH] examples/multi_process: fix compilation error on FreeBSD

2019-06-05 Thread David Marchand
On Wed, Jun 5, 2019 at 11:52 AM Thomas Monjalon wrote: > 05/06/2019 11:36, David Marchand: > > On Wed, Jun 5, 2019 at 11:26 AM Thomas Monjalon > wrote: > > > > > 05/06/2019 11:06, David Marchand: > > > > Caught on FreeBSD 12: > > > > > > > > /usr/include/netinet/ip.h:71:17: error: field 'ip_src'

Re: [dpdk-dev] [PATCH] examples/multi_process: fix compilation error on FreeBSD

2019-06-05 Thread Thomas Monjalon
05/06/2019 11:36, David Marchand: > On Wed, Jun 5, 2019 at 11:26 AM Thomas Monjalon wrote: > > > 05/06/2019 11:06, David Marchand: > > > Caught on FreeBSD 12: > > > > > > /usr/include/netinet/ip.h:71:17: error: field 'ip_src' has incomplete > > type > > > struct in_addr ip_src,ip_dst; /* source

Re: [dpdk-dev] [PATCH] examples/multi_process: fix compilation error on FreeBSD

2019-06-05 Thread David Marchand
On Wed, Jun 5, 2019 at 11:26 AM Thomas Monjalon wrote: > 05/06/2019 11:06, David Marchand: > > Caught on FreeBSD 12: > > > > /usr/include/netinet/ip.h:71:17: error: field 'ip_src' has incomplete > type > > struct in_addr ip_src,ip_dst; /* source and dest address */ > > ^~ >

Re: [dpdk-dev] [PATCH] examples/multi_process: fix compilation error on FreeBSD

2019-06-05 Thread Thomas Monjalon
05/06/2019 11:06, David Marchand: > Caught on FreeBSD 12: > > /usr/include/netinet/ip.h:71:17: error: field 'ip_src' has incomplete type > struct in_addr ip_src,ip_dst; /* source and dest address */ > ^~ > > POSIX defines netinet/in.h as the right header for in_addr. > Linu