From: Gaetan Rivet Date: Thu, 26 Oct 2017 10:05:49 +0000 (+0200) Subject: eal/x86: include common header X-Git-Tag: spdx-start~1074 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2a46c2a2f21eaa7eec128ce9d4d87733c265e9ce;p=dpdk.git eal/x86: include common header 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 --- diff --git a/lib/librte_eal/common/arch/x86/rte_cycles.c b/lib/librte_eal/common/arch/x86/rte_cycles.c index b286d90852..417850ee96 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