[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [UNIKRAFT/LWIP PATCH] alloc.c: Include missing `<stddef.h>`



Hey Simon,

The patch looks good.

Cezar

Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@xxxxxxxxx>

On 2020-12-03 01:32:17, Simon Kuenzer <simon.kuenzer@xxxxxxxxx> wrote:

Include `` that provides the definition for `size_t`.

Signed-off-by: Simon Kuenzer
---
alloc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/alloc.c b/alloc.c
index a5b4377..af52f27 100644
--- a/alloc.c
+++ b/alloc.c
@@ -32,6 +32,7 @@
*/

#include
+#include

void *sys_malloc(size_t size)
{
--
2.20.1


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.