diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-02-08 15:10:47 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-02-08 15:10:47 -0800 |
commit | ccc5ce4abda323884ccc096fd31985b1d4c9009f (patch) | |
tree | 52c5486ca510b438aad8c13e3800d6d02dc09907 /pcap-dpdk.c | |
parent | 535bb41eee7a1060944d63c2cd9f11056d2b6e45 (diff) |
At least some DPDK RTE headers depend on stuff defined in rte_config.h.
With the version of the DPDK libraries provided with Ubuntu 16.04, they
don't appear to include rte_config.h themselves, so include it
explicitly.
Diffstat (limited to 'pcap-dpdk.c')
-rw-r--r-- | pcap-dpdk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap-dpdk.c b/pcap-dpdk.c index be262539..34571462 100644 --- a/pcap-dpdk.c +++ b/pcap-dpdk.c @@ -91,6 +91,7 @@ env DPDK_CFG="--log-level=debug -l0 -dlibrte_pmd_e1000.so -dlibrte_pmd_ixgbe.so #include <sys/time.h> //header for calling dpdk +#include <rte_config.h> #include <rte_common.h> #include <rte_log.h> #include <rte_malloc.h> |