From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 6BFE61BA8A for ; Thu, 26 Oct 2017 12:06:33 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id t139so7137813wmt.1 for ; Thu, 26 Oct 2017 03:06:33 -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=AorjJSHj2W/3Zv9j5V86oCWRfOxbiv96xI5NlY7Fz/X/PJFk+eMZmAoW4UprCYcMhx mRYSNzoxSyJWRR0mM3c6DdXApZwWCUknPVdvetv/OnuEj3PNVAsXZ/fjzEsC0cqjGq8J HfA8LyU4kTet6zxqUPrXMYE2GVGdzzf2euNNu+XbrQQhg9ORgn08T1txZsZ8QT491k9Y A2H/U9CguRLQ7Qh8m/3+U8KTR8ykAnlDjWvfJ8gSYkIipW8WAdt9/Z7aNCIkzAoaauDi KPjJWddDpqHQf6wYaSQbgvr6DdbhdG7Vj7OvMHSuw7BgQl+8qY6NBgG4kImGd/g34mVD m+nA== 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=F59Sl21hFTSBuXTlg8Y/2CNZF4e7d74rq1A+sA5UgPfy6aRPhsVMqSTnSJ7pnK43GW WtjLWLyyPCXpeApIf3oiROJrLD5jm4lmANStFaH9XQqqCLZIxZeC9bjp7u646XLhgbZM 3d/cxIuDfPVQlwbrlBtsFNoaTl/n5VU+drmueOEgG87Y8NOuqvXFO3vKyiJ/Ea2Pp95s LYUy7xieEcH2/q+WGXM4anS15586XdGMuuqm3bureSESydqGsqDNW9QpuIbaHSKv/GwJ tO5bzyv+fgOOZ1Y6q4ZvuQWeBzvvwwbmADaBG0eliWAae4w2sdTD5HvG3jAI48FrMAht Wwog== X-Gm-Message-State: AMCzsaUScAn0Tbby27P5zDxaJ4qCn/urt0Bq1IQa+OB58BRUHgVguRxU 6FmRIFsSmHypC2hYe3gFa89F4FwD X-Google-Smtp-Source: ABhQp+RpoSfh5YYknexyTOzYj4J3D2K3o/gRya6+rOMzk8yh/83tOa4S1JkRkzdDklJ6U1XaE0VtyQ== X-Received: by 10.80.221.11 with SMTP id t11mr27167786edk.84.1509012392768; Thu, 26 Oct 2017 03:06:32 -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 u12sm3339619edk.45.2017.10.26.03.06.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Oct 2017 03:06:31 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 26 Oct 2017 12:05:49 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v8 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: , X-List-Received-Date: Thu, 26 Oct 2017 10:06:33 -0000 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 -- 2.1.4