From: Haiyue Wang Date: Fri, 3 Jul 2020 14:57:17 +0000 (+0800) Subject: eal: fix uuid header dependencies X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=edca6d883eb0137bc3caf7f93651a67360ebdf96;p=dpdk.git eal: fix uuid header dependencies Add the dependent header files explicitly, so that the user just needs to include the 'rte_uuid.h' header file directly to avoid compile error: (1). rte_uuid.h:97:55: error: unknown type name ‘size_t’ (2). rte_uuid.h:58:2: error: implicit declaration of function ‘memcpy’ Fixes: 6bc67c497a51 ("eal: add uuid API") Cc: stable@dpdk.org Signed-off-by: Haiyue Wang Acked-by: David Marchand --- diff --git a/lib/librte_eal/include/rte_uuid.h b/lib/librte_eal/include/rte_uuid.h index 044afbdfab..8b42e070af 100644 --- a/lib/librte_eal/include/rte_uuid.h +++ b/lib/librte_eal/include/rte_uuid.h @@ -15,6 +15,8 @@ extern "C" { #endif #include +#include +#include /** * Struct describing a Universal Unique Identifier