]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_glue.c
ethdev: replace bus specific struct with generic dev
[dpdk.git] / drivers / net / mlx5 / mlx5_glue.c
index 1c4396adaae02d8835b2d208a862d35ea1c75379..a771ac4c780ec262aec8f8a09937ebb55f319fa4 100644 (file)
@@ -1,12 +1,18 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  * Copyright 2018 6WIND S.A.
- * Copyright 2018 Mellanox Technologies, Ltd.
+ * Copyright 2018 Mellanox Technologies, Ltd
  */
 
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>
 
+/*
+ * Not needed by this file; included to work around the lack of off_t
+ * definition for mlx5dv.h with unpatched rdma-core versions.
+ */
+#include <sys/types.h>
+
 /* Verbs headers do not support -pedantic. */
 #ifdef PEDANTIC
 #pragma GCC diagnostic ignored "-Wpedantic"