net/mlx5: fix build with dlopen linkage
authorAli Alnubani <alialnu@mellanox.com>
Tue, 26 Nov 2019 08:35:24 +0000 (08:35 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 26 Nov 2019 17:22:27 +0000 (18:22 +0100)
commit373c6114f53513e2484fafc072c8d126afdc50d6
tree7ea11c34706241474cb0fd4093b6d7879c71409f
parent82e75f8323bf8544ee4756787b99bce2ae6a7cb0
net/mlx5: fix build with dlopen linkage

The header mlx5_glue.h includes rte_byteorder.h, which isn't
pulled by global_inc. This patch adds the missing include directory
and fixes the build error:

  In file included from drivers/net/mlx5/mlx5_glue.c:31:
  drivers/net/mlx5/mlx5_glue.h:12:10: fatal error:
  rte_byteorder.h: No such file or directory

The build failure can be triggered with:
  meson -Dibverbs_link=dlopen build && ninja -C build

Fixes: 400d985eb586 ("net/mlx5: add VLAN push/pop DR commands to glue")

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
drivers/net/mlx5/meson.build