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

[Minios-devel] [UNIKRAFT PATCH] lib/uktime: time.c: Include essentials header



time.c uses `__unused` macro which is introduced by <uk/essentials.h>
when nolibc is used.

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

diff --git a/lib/uktime/time.c b/lib/uktime/time.c
index da7da72b..dda12d12 100644
--- a/lib/uktime/time.c
+++ b/lib/uktime/time.c
@@ -47,6 +47,7 @@
 #else
 #include <uk/plat/lcpu.h>
 #endif
+#include <uk/essentials.h>
 
 int utime(const char *filename __unused, const struct utimbuf *times __unused)
 {
-- 
2.20.1


_______________________________________________
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®.