From: Thomas Monjalon Date: Tue, 22 Feb 2022 11:26:10 +0000 (+0100) Subject: dmadev: add missing header include X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e904fd77d88666f1a4270b1380f2661c9195f012;p=dpdk.git dmadev: add missing header include When checking C++ compatibility of SDK headers, an error is detected by the compiler: lib/dmadev/rte_dmadev_pmd.h:95:23: error: ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function) The header file rte_dev.h must be included. Fixes: b36970f2e13e ("dmadev: introduce DMA device library") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson Acked-by: Conor Walsh --- diff --git a/lib/dmadev/rte_dmadev_pmd.h b/lib/dmadev/rte_dmadev_pmd.h index 5316ad5b5f..82ab7a8cc7 100644 --- a/lib/dmadev/rte_dmadev_pmd.h +++ b/lib/dmadev/rte_dmadev_pmd.h @@ -14,6 +14,8 @@ * by any application. */ +#include + #include "rte_dmadev.h" #ifdef __cplusplus