From: Ori Kam Date: Mon, 8 Apr 2019 12:43:10 +0000 (+0000) Subject: net/mlx5: fix build on Arm X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bbda883ca068d430f289190e49ecbdf6ab2a0761;p=dpdk.git 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 Acked-by: Shahaf Shuler --- diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c index f5a6c2e7dd..a508faafeb 100644 --- a/drivers/net/mlx5/mlx5_glue.c +++ b/drivers/net/mlx5/mlx5_glue.c @@ -7,6 +7,7 @@ #include #include #include +#include /* * Not needed by this file; included to work around the lack of off_t