[dpdk-dev] [PATCH v6 17/17] examples/bbdev: fix header include for musl
From: Thomas Monjalon <hidden>
Date: 2021-02-28 12:56:43
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Thomas Monjalon <hidden>
Date: 2021-02-28 12:56:43
Subsystem:
the rest · Maintainer:
Linus Torvalds
The header file unistd.h should not be included from sys/ directory,
it is an error with musl libc.
Fixes: 1ffee690eaa1 ("examples/bbdev: add sample app")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <redacted>
---
examples/bbdev_app/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c
index 2e170caf84..20cfd327fb 100644
--- a/examples/bbdev_app/main.c
+++ b/examples/bbdev_app/main.c@@ -8,7 +8,7 @@ #include <stdint.h> #include <inttypes.h> #include <sys/types.h> -#include <sys/unistd.h> +#include <unistd.h> #include <sys/queue.h> #include <stdarg.h> #include <ctype.h>
--
2.30.1