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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH] Add missing include to time.c



time.c uses errno, but doesn't include the correct header.

Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
---
 time.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/time.c b/time.c
index 16747eb..84eccba 100644
--- a/time.c
+++ b/time.c
@@ -35,6 +35,7 @@
  * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
+#include <errno.h>
 #include <sys/time.h>
 #include <utime.h>
 #include <uk/plat/time.h>
-- 
2.19.2


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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