X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=blobdiff_plain;f=drivers%2Fnet%2Fmlx5%2Fmlx5_vlan.c;fp=drivers%2Fnet%2Fmlx5%2Fmlx5_vlan.c;h=4e11eadb97951ebd7d6c2e1f9c715b66055495c2;hp=1b0fa40ac06e4f508a297eb7d3bc7e7f3f5c3eab;hb=43192222b329b3c984687235b0081c7fbfe484ba;hpb=18af4227fa5eee002b1a79207935620f6112803e diff --git a/drivers/net/mlx5/mlx5_vlan.c b/drivers/net/mlx5/mlx5_vlan.c index 1b0fa40a..4e11eadb 100644 --- a/drivers/net/mlx5/mlx5_vlan.c +++ b/drivers/net/mlx5/mlx5_vlan.c @@ -36,6 +36,12 @@ #include #include +/* + * Not needed by this file; included to work around the lack of off_t + * definition for mlx5dv.h with unpatched rdma-core versions. + */ +#include + /* DPDK headers don't like -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic"