git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eab29b
)
net/mlx5: fix build on Arm
author
Ori Kam
<orika@mellanox.com>
Mon, 8 Apr 2019 12:43:10 +0000
(12:43 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000
(11:02 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_glue.c
b/drivers/net/mlx5/mlx5_glue.c
index
f5a6c2e
..
a508faa
100644
(file)
--- 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