| 99683979 | 05-Jun-2019 |
David Marchand <[email protected]> |
examples/multi_process: fix FreeBSD build
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
examples/multi_process: fix FreeBSD build
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 */ ^~~~~~
On FreeBSD, netinet/ip.h is not auto sufficient like on Linux. But actually, this header is not used in the example, just remove it.
Fixes: 764bf26873b9 ("add FreeBSD support") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Tested-by: Bruce Richardson <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|