Skip to content

Commit

Permalink
examples/bbdev: fix header include for musl
Browse files Browse the repository at this point in the history
[ upstream commit 960f28b ]

The header file unistd.h should not be included from sys/ directory,
it is an error with musl libc.

Fixes: 1ffee69 ("examples/bbdev: add sample app")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
tmonjalo authored and cpaelzer committed May 11, 2021
1 parent 96d8538 commit 17075d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bbdev_app/main.c
Expand Up @@ -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>
Expand Down

0 comments on commit 17075d8

Please sign in to comment.