summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2013-11-22 11:24:56 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:11:18 +0100
commit64644ba3fd7248c0e117b680e0fdeff0084bf0e8 (patch)
tree83d71bdbe66d793a5f6b0e67e7b9f1d9ca3ebc39 /lib
parented981bdd51d5b78d5fc5f25e80f6daad79c7dc9a (diff)
downloaddpdk-64644ba3fd7248c0e117b680e0fdeff0084bf0e8.zip
dpdk-64644ba3fd7248c0e117b680e0fdeff0084bf0e8.tar.gz
dpdk-64644ba3fd7248c0e117b680e0fdeff0084bf0e8.tar.xz
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 <david.marchand@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_pmd_pcap/rte_eth_pcap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.h b/lib/librte_pmd_pcap/rte_eth_pcap.h
index 7ed68b1..a1bd513 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 <pcap/pcap.h>
+#include <pcap.h>
#define RTE_ETH_PCAP_PARAM_NAME "eth_pcap"