examples/bbdev: fix header include for musl
authorThomas Monjalon <thomas@monjalon.net>
Thu, 25 Feb 2021 08:43:35 +0000 (09:43 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Mar 2021 07:41:05 +0000 (08:41 +0100)
commit960f28b2a3b39c143191bd3a5424245fc7dc4cf8
treef47aae0522bd62d1a59b64f68039d92f8e2a404b
parent3529e8f3a5e62919c6528457c68f0c5c26cfdada
examples/bbdev: fix header include for musl

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 <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
examples/bbdev_app/main.c