summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@redhat.com>2019-06-05 13:30:26 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-06-05 15:13:06 +0200
commit996839793a2b6af80c29ffe55f4361ae23665e69 (patch)
tree0b1f81828c66eb10c24872d1b41a12ef0e1590a1
parentb9444280003a0cc758b63e9797ffc822a9ae2548 (diff)
downloaddpdk-next-eventdev-996839793a2b6af80c29ffe55f4361ae23665e69.zip
dpdk-next-eventdev-996839793a2b6af80c29ffe55f4361ae23665e69.tar.gz
dpdk-next-eventdev-996839793a2b6af80c29ffe55f4361ae23665e69.tar.xz
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 <david.marchand@redhat.com> Tested-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
-rw-r--r--examples/multi_process/client_server_mp/mp_server/main.c1
1 files changed, 0 insertions, 1 deletions
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 9a8e422..0150533 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 <inttypes.h>
#include <sys/queue.h>
#include <errno.h>
-#include <netinet/ip.h>
#include <signal.h>
#include <rte_common.h>