From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 325F7A0524; Thu, 6 May 2021 17:15:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 239D64110C; Thu, 6 May 2021 17:15:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id D327D410FF for ; Thu, 6 May 2021 17:15:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620314108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zy88RimNbMcf6q4g7fWT8rQWZj6U/A521iPM9FLifWA=; b=N5L8YhlzS9cZXH8Uzp6r3BOM4bFkkqe4PAxNdAbWEUSc9QN86TVkOVIxYQlDquz5vRjcig QyML6tovtxdiTEYbvE/G2wM95+2VhDVLCCuH8p5F17Q6m/JIS30YvPahNqA9UjBQIo9OIt FwtgIdcmdBR6eXrmW5NP3cdR2V+S3DY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-253-KiNpQ-7vNMWyqVzRQ_9vKQ-1; Thu, 06 May 2021 11:15:00 -0400 X-MC-Unique: KiNpQ-7vNMWyqVzRQ_9vKQ-1 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id C7A301008065; Thu, 6 May 2021 15:14:58 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id D33D759453; Thu, 6 May 2021 15:14:54 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: ian.stokes@intel.com, ktraynor@redhat.com, Olivier Matz , Ranjit Menon , Dmitry Kozlyuk Date: Thu, 6 May 2021 17:14:26 +0200 Message-Id: <20210506151426.28202-3-david.marchand@redhat.com> In-Reply-To: <20210506151426.28202-1-david.marchand@redhat.com> References: <20210506151426.28202-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH 2/2] net: fix header include order for FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Spotted by sparse in OVS build: ../../lib/netdev-dpdk.c: note: in included file (through /home/runner/work/ovs/ovs/dpdk-dir/build/include/rte_ip.h, /home/runner/work/ovs/ovs/dpdk-dir/build/include/rte_flow.h, ...): ../../include/sparse/arpa/inet.h:22:2: error: "Must include before for FreeBSD support" This is a check enforced by OVS itself. See [1] for some context. 1: https://github.com/openvswitch/ovs/commit/b2befd5bb2db Fixes: 89813a522e68 ("net: provide IP-related API on any OS") Signed-off-by: David Marchand --- lib/net/rte_ip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h index 8c189009b0..4b728969c1 100644 --- a/lib/net/rte_ip.h +++ b/lib/net/rte_ip.h @@ -22,8 +22,8 @@ #else #include #include -#include #include +#include #include #endif -- 2.23.0