pcap: fix build with old libpcap
authorDavid Marchand <david.marchand@6wind.com>
Fri, 22 Nov 2013 10:24:56 +0000 (11:24 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:28 +0000 (11:07 +0100)
commitfa2e9958db6313feb97bd4844ce2e684b181cd16
treeecc9ba64ad287b2f63b7bf42072a3c6f75dda435
parentef5b2363627dadacfee7da6ee0c7d1c2b40a30db
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>
lib/librte_pmd_pcap/rte_eth_pcap.h