]> git.droids-corp.org - dpdk.git/commitdiff
raw/ioat: fix build missing errno include
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 23 Jun 2022 13:49:31 +0000 (14:49 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 26 Jun 2022 08:25:52 +0000 (10:25 +0200)
The inline functions in rte_idxd_rawdev_fns.h make use of rte_errno, but
the header with its definition is not included by that file leading to
build errors.

Fixes: f82c87eb14a4 ("raw/ioat: move idxd functions to separate file")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/raw/ioat/rte_idxd_rawdev_fns.h

index 3ea25f6ca9390841d7d709c465bbaca0ed4e21b6..a07892faa07c975fc992868c4c07657c5d53d9a5 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <stdint.h>
+#include <rte_errno.h>
 
 /*
  * Defines used in the data path for interacting with IDXD hardware.