Patchwork [dpdk-dev,v3,06/15] bus/fslmc: remove unused include of error.h

mail settings
Submitter Natanael Copa
Date March 13, 2019, 5:06 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/748333/
State New
Headers show


Natanael Copa - March 13, 2019, 5:06 p.m.
Fixes following build error with musl libc:

In file included from ../drivers/bus/fslmc/qbman/qbman_debug.c:6:
../drivers/bus/fslmc/qbman/include/compat.h:21:10: fatal error: error.h: No such file or directory
 #include <error.h>

Apparently it is not used anywere in qbman so simply remove the include.

Signed-off-by: Natanael Copa <>
 drivers/bus/fslmc/qbman/include/compat.h | 1 -
 1 file changed, 1 deletion(-)


diff --git a/drivers/bus/fslmc/qbman/include/compat.h b/drivers/bus/fslmc/qbman/include/compat.h
index ae84528b9..1ddd69e12 100644
--- a/drivers/bus/fslmc/qbman/include/compat.h
+++ b/drivers/bus/fslmc/qbman/include/compat.h
@@ -18,7 +18,6 @@ 
 #include <string.h>
 #include <malloc.h>
 #include <unistd.h>
-#include <error.h>
 #include <linux/types.h>
 #include <rte_atomic.h>