DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: fix cross compilation on aarch64
@ 2019-04-08 12:43 Ori Kam
  2019-04-08 12:43 ` Ori Kam
  2019-04-10  6:59 ` Shahaf Shuler
  0 siblings, 2 replies; 6+ messages in thread
From: Ori Kam @ 2019-04-08 12:43 UTC (permalink / raw)
  To: Yongseok Koh, Shahaf Shuler; +Cc: dev, Ori Kam

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>
---
 drivers/net/mlx5/mlx5_glue.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c
index f5a6c2e..a508faa 100644
--- a/drivers/net/mlx5/mlx5_glue.c
+++ b/drivers/net/mlx5/mlx5_glue.c
@@ -7,6 +7,7 @@
 #include <stdalign.h>
 #include <stddef.h>
 #include <stdint.h>
+#include <stdlib.h>
 
 /*
  * Not needed by this file; included to work around the lack of off_t
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-10 17:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 12:43 [dpdk-dev] [PATCH] net/mlx5: fix cross compilation on aarch64 Ori Kam
2019-04-08 12:43 ` Ori Kam
2019-04-10  6:59 ` Shahaf Shuler
2019-04-10  6:59   ` Shahaf Shuler
2019-04-10 17:50   ` Ferruh Yigit
2019-04-10 17:50     ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).