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

[UNIKRAFT/PTHREAD-EMBEDDED PATCH] Include missing `<stdlib.h>`



The header `<stdlib.h>` provides definitions for
`malloc()`, `calloc()` and `free()`.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 pte_osal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pte_osal.c b/pte_osal.c
index cfd5b3b..640c3e4 100644
--- a/pte_osal.c
+++ b/pte_osal.c
@@ -24,6 +24,7 @@
  */
 
 #include <string.h>
+#include <stdlib.h>
 #include <uk/essentials.h>
 #include <uk/init.h>
 #include <uk/arch/time.h>
-- 
2.20.1



 


Rackspace

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