From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 76328A0096 for ; Wed, 5 Jun 2019 13:30:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 671E51B9DD; Wed, 5 Jun 2019 13:30:57 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6F99C1B9D4; Wed, 5 Jun 2019 13:30:56 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 46AEA30C0DC2; Wed, 5 Jun 2019 11:30:45 +0000 (UTC) Received: from dmarchan.remote.csb (ovpn-204-187.brq.redhat.com [10.40.204.187]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9AD0B600CC; Wed, 5 Jun 2019 11:30:39 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, stable@dpdk.org, Anatoly Burakov Date: Wed, 5 Jun 2019 13:30:26 +0200 Message-Id: <1559734226-8821-1-git-send-email-david.marchand@redhat.com> In-Reply-To: <1559725576-6427-1-git-send-email-david.marchand@redhat.com> References: <1559725576-6427-1-git-send-email-david.marchand@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 05 Jun 2019 11:30:50 +0000 (UTC) Subject: [dpdk-dev] [PATCH v2] examples/multi_process: fix compilation error on FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- Changelog since v1: - took the opposite approach, rather than fix the netinet/ip.h inclusion, dropped it as it is unused - added Fixes: tag --- examples/multi_process/client_server_mp/mp_server/main.c | 1 - 1 file changed, 1 deletion(-) 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 #include #include -#include #include #include -- 1.8.3.1