]> The Tcpdump Group git mirrors - libpcap/commitdiff
At least some DPDK RTE headers depend on stuff defined in rte_config.h.
authorGuy Harris <[email protected]>
Fri, 8 Feb 2019 23:10:47 +0000 (15:10 -0800)
committerGuy Harris <[email protected]>
Fri, 8 Feb 2019 23:10:47 +0000 (15:10 -0800)
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.

pcap-dpdk.c

index be2625393f7cc42061a45031ac4f62d83130df6d..34571462eecaac8cecab2d3727f6551adf7c3497 100644 (file)
@@ -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>