From: David Marchand Date: Fri, 22 Nov 2013 10:24:56 +0000 (+0100) Subject: pcap: fix build with old libpcap X-Git-Tag: spdx-start~10932 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fa2e9958db6313feb97bd4844ce2e684b181cd16;p=dpdk.git 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 --- 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"