net/mlx5: fix build on Arm
authorOri Kam <orika@mellanox.com>
Mon, 8 Apr 2019 12:43:10 +0000 (12:43 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commitbbda883ca068d430f289190e49ecbdf6ab2a0761
treebec7d3d87d590b43ad28f2661301c33544d4b3bc
parent1eab29b9b8bd7ec9556f77b40cd1ace41e961b17
net/mlx5: fix build on Arm

In case of cross compilation on aarch64 we must add include for
stdlib in order to use the free function.

Fixes: cbb66daa3c85 ("net/mlx5: prepare Direct Verbs for Direct Rule")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_glue.c