]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commitdiff
alloc.c: Include missing `<stddef.h>`
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Wed, 2 Dec 2020 23:31:57 +0000 (00:31 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Mon, 21 Dec 2020 10:46:34 +0000 (11:46 +0100)
Include `<stddef.h>` that provides the definition for `size_t`.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
alloc.c

diff --git a/alloc.c b/alloc.c
index a5b43775d72787b387636909282b566b97da77f9..af52f2734b885b8d064cfb64541fb0a01a2aa907 100644 (file)
--- a/alloc.c
+++ b/alloc.c
@@ -32,6 +32,7 @@
  */
 
 #include <uk/alloc.h>
+#include <stddef.h>
 
 void *sys_malloc(size_t size)
 {