]> git.droids-corp.org - dpdk.git/commitdiff
eal/x86: include common header
authorGaetan Rivet <gaetan.rivet@6wind.com>
Thu, 26 Oct 2017 10:05:49 +0000 (12:05 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Oct 2017 21:17:31 +0000 (23:17 +0200)
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 <gaetan.rivet@6wind.com>
lib/librte_eal/common/arch/x86/rte_cycles.c

index b286d908525353fd23aac45f47a465dce834bc26..417850ee9637589a85d8b58a4e847ae7d6dc4218 100644 (file)
@@ -35,6 +35,8 @@
 #include <unistd.h>
 #include <cpuid.h>
 
+#include <rte_common.h>
+
 #include "eal_private.h"
 
 static unsigned int