From: David Marchand Date: Wed, 5 Jun 2019 11:30:26 +0000 (+0200) Subject: examples/multi_process: fix FreeBSD build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=996839793a2b6af80c29ffe55f4361ae23665e69;hp=b9444280003a0cc758b63e9797ffc822a9ae2548;p=dpdk.git 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: stable@dpdk.org Signed-off-by: David Marchand Tested-by: Bruce Richardson Acked-by: Bruce Richardson --- diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c index 9a8e422d41..0150533700 100644 --- a/examples/multi_process/client_server_mp/mp_server/main.c +++ b/examples/multi_process/client_server_mp/mp_server/main.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include