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 <gaetan.rivet@6wind.com>
This commit is contained in:
Gaetan Rivet 2017-10-26 12:05:49 +02:00 committed by Thomas Monjalon
parent b27a200d03
commit 2a46c2a2f2

View File

@ -35,6 +35,8 @@
#include <unistd.h>
#include <cpuid.h>
#include <rte_common.h>
#include "eal_private.h"
static unsigned int