]> git.droids-corp.org - dpdk.git/commitdiff
raw/cnxk_bphy: add header includes
authorTomasz Duszynski <tduszynski@marvell.com>
Tue, 2 Nov 2021 18:41:33 +0000 (19:41 +0100)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Nov 2021 15:15:13 +0000 (16:15 +0100)
Generally it is good practice to include all headers that provide APIs
which are being used. This is especially true in situations where 3rd
party apps include our public headers and assume that all should work
out of the box.

Including all headers explicitly helps to achieve that.

Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/raw/cnxk_bphy/rte_pmd_bphy.h

index 726ff412a26ca9c7a0fb19b9c5ed73dd05bb7520..cc2372f719dfe046b8ac2715ebe09a82b032d339 100644 (file)
@@ -5,7 +5,11 @@
 #ifndef _CNXK_BPHY_H_
 #define _CNXK_BPHY_H_
 
+#include <stdint.h>
+
+#include <rte_common.h>
 #include <rte_dev.h>
+#include <rte_malloc.h>
 #include <rte_memcpy.h>
 #include <rte_rawdev.h>