From fa2e9958db6313feb97bd4844ce2e684b181cd16 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 22 Nov 2013 11:24:56 +0100 Subject: [PATCH] pcap: fix build with old libpcap For backwards compatibility, pcap.h includes pcap/pcap.h. Hence, to be compatible with older pcap libraries, we must include pcap.h. Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- lib/librte_pmd_pcap/rte_eth_pcap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.h b/lib/librte_pmd_pcap/rte_eth_pcap.h index c5e0044a19..1cce7e0751 100644 --- a/lib/librte_pmd_pcap/rte_eth_pcap.h +++ b/lib/librte_pmd_pcap/rte_eth_pcap.h @@ -37,7 +37,7 @@ #ifdef __cplusplus extern "C" { #endif -#include +#include #define RTE_ETH_PCAP_PARAM_NAME "eth_pcap" -- 2.20.1