event/dlb: fix header includes for musl
authorThomas Monjalon <thomas@monjalon.net>
Fri, 19 Mar 2021 09:20:42 +0000 (10:20 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Mar 2021 07:41:05 +0000 (08:41 +0100)
commit29420808d05b4e17a52f860bc4d507d689a95efc
tree4bbe212defa17ca0d77ee4e4e8c074d86f0412b1
parent41b5a7a8494ea62438152f332081e826def89469
event/dlb: fix header includes for musl

The header file fcntl.h should not be included from sys/ directory
as done in dlb drivers, it is an error with musl libc.

Fixes: 19980083fd57 ("event/dlb: add eventdev probe")
Fixes: 5433956d5185 ("event/dlb2: add eventdev probe")
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>
Acked-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
drivers/event/dlb/dlb.c
drivers/event/dlb/pf/dlb_pf.c
drivers/event/dlb2/dlb2.c
drivers/event/dlb2/pf/dlb2_pf.c