summaryrefslogtreecommitdiff
path: root/lib/librte_kni/rte_kni.h
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2015-05-25 13:23:54 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-05-29 20:27:23 +0200
commit365f618238d093706dc94b471001da0cbb59914b (patch)
tree63166c28a657df9f19e4eece139a314cdd07d8e4 /lib/librte_kni/rte_kni.h
parent49386e44f29af038d2e7c5275f1c5991a11952f6 (diff)
downloaddpdk-365f618238d093706dc94b471001da0cbb59914b.zip
dpdk-365f618238d093706dc94b471001da0cbb59914b.tar.gz
dpdk-365f618238d093706dc94b471001da0cbb59914b.tar.xz
kni: fix missing header dependencies
The file rte_kni.h depends upon a number of other headers, some of which are missing from the #include lines. The following #includes are added: * rte_memory.h - for the definition of phys_addr_t * rte_mempool.h - for the definition of mempool struct and the mempool create function. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Marc Sune <marc.sune@bisdn.de>
Diffstat (limited to 'lib/librte_kni/rte_kni.h')
-rw-r--r--lib/librte_kni/rte_kni.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h
index 98edd72..44240fe 100644
--- a/lib/librte_kni/rte_kni.h
+++ b/lib/librte_kni/rte_kni.h
@@ -47,6 +47,8 @@
*/
#include <rte_pci.h>
+#include <rte_memory.h>
+#include <rte_mempool.h>
#include <exec-env/rte_kni_common.h>