From: Adrien Mazarguil Date: Wed, 26 Apr 2017 12:07:14 +0000 (+0200) Subject: mbuf: fix missing includes in exported header X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d53aad67e8001f1abeeae3c3765ca80cd7c3326a;p=dpdk.git mbuf: fix missing includes in exported header This commit addresses the following errors: In file included from /tmp/check-includes.sh.681.c:1:0: build/include/rte_mbuf_ptype.h:587:35: error: unknown type name 'uint32_t' [...] build/include/rte_mbuf_ptype.h:662:51: error: unknown type name 'size_t' [...] Fixes: 288541c8ff9e ("mbuf: add functions to dump packet type") Cc: stable@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Olivier Matz --- diff --git a/lib/librte_mbuf/rte_mbuf_ptype.h b/lib/librte_mbuf/rte_mbuf_ptype.h index ff6de9d179..a3269c4c92 100644 --- a/lib/librte_mbuf/rte_mbuf_ptype.h +++ b/lib/librte_mbuf/rte_mbuf_ptype.h @@ -91,6 +91,9 @@ * RTE_PTYPE_INNER_L4_UDP. */ +#include +#include + #ifdef __cplusplus extern "C" { #endif