From patchwork Wed Oct 25 22:38:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABtan_Rivet?= X-Patchwork-Id: 30907 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C775B1BA6E; Thu, 26 Oct 2017 00:39:21 +0200 (CEST) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 911581BA3A for ; Thu, 26 Oct 2017 00:39:15 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id r68so4718335wmr.3 for ; Wed, 25 Oct 2017 15:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Xs6g434yDdqfi5XpnkYZEHcvekVenbL2VH5vsVljMJI=; b=UZ3eAwuYlFmZHpLqIi60+saPPdv00+Ys66md8bpmTf16QjogvDT0KsYnzrVau68gHb WrCHVfAwi31oNUTrnGKdXclSAPTOhf2eIGo5AKE1vMQ0yEnXpyt5qVJaoMBJUo6oKrfC s91VKK+s9W9aj8zQ7zBcxpjm6//aQ8JnIjBmzA3T3qCjElthhRu1Y4z/NcGjSF0kekdD R4I9d0uLSDN+2jIcpBmRctZubg7x5O93caIL6JQ23VtJ96N/fBh0Wjevtyc8481Ff+pe talGTtdh2iZB8ssbvG/X6aBMetEO6hMPuYHS43QrWOkvu1L2VnaLzgzmlUmtTi9wkBGu AEkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Xs6g434yDdqfi5XpnkYZEHcvekVenbL2VH5vsVljMJI=; b=nJpOzPva+4eKTvSFzs/Wx8Srr2nuoNedSF6ptJhgCIw8Jn+aRtQw02MmOPxOghrnkE i01zIoUz2bsoUOtI/BuYMqNmHZfAf+v22ncL1dJcvDe0QNZW8RlIy3rfADHp0+4sFdD/ x1MoO1DaewNKwme5d/+paB/7QBUglHrzACssWJveEkutMlgX4Ftoaj7vMJzZL1CNClD7 4gAo8q5L35rn/FpK9oGI8b9NF+Jc4n3uh8w4denQTEuc9L+bGjohsgVDJV4cG+h68Hr9 M6l+1WfteZWVRWBkHnTKLikog/Me6GztZCICbko3jS6p/QBEa/PHfwAFtu45O2+OvLUg xbvQ== X-Gm-Message-State: AMCzsaWwl47VPNUsUNISWbwF+7S3QRIyP3za6zEJv5ysXHK+666h2xo2 oLQSEIeyGckJqtOakHIltZONyYaz X-Google-Smtp-Source: ABhQp+Stx26Ju98hvSlMhNLxuR/2cZgxUVxiuczMFSZVH1pjQNWr07r5xT51aITWzXP9BwNK+RRH8A== X-Received: by 10.28.183.67 with SMTP id h64mr2955447wmf.76.1508971154721; Wed, 25 Oct 2017 15:39:14 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id r63sm4466124wmg.13.2017.10.25.15.39.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Oct 2017 15:39:13 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 26 Oct 2017 00:38:26 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v7 04/25] eal: include common header 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" The macro RTE_SET_USED is defined in rte_common.h This header is included through eal_private.h, which includes in turn rte_pci.h Once the PCI subsystem is out of the EAL, this will break the compilation (seen on FreeBSD). Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/arch/x86/rte_cycles.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/common/arch/x86/rte_cycles.c b/lib/librte_eal/common/arch/x86/rte_cycles.c index b286d90..417850e 100644 --- a/lib/librte_eal/common/arch/x86/rte_cycles.c +++ b/lib/librte_eal/common/arch/x86/rte_cycles.c @@ -35,6 +35,8 @@ #include #include +#include + #include "eal_private.h" static unsigned int