common/mlx5: fix build with -fno-common
[dpdk.git] / drivers / common / mlx5 / mlx5_glue.h
index cd1136f..184c410 100644 (file)
@@ -304,6 +304,6 @@ struct mlx5_glue {
                         size_t event_resp_len);
 };
 
-const struct mlx5_glue *mlx5_glue;
+extern const struct mlx5_glue *mlx5_glue;
 
 #endif /* MLX5_GLUE_H_ */