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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 4/4] ucontext.h: Adapt to unikraft



Comment out features.h and include bits/signal.h which defines struct
ucontext_t.  

Signed-off-by: Charalampos Mainas <Charalampos.Mainas@xxxxxxxxx>
---
 musl-imported/include/ucontext.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/musl-imported/include/ucontext.h b/musl-imported/include/ucontext.h
index 3bb776e..760c680 100644
--- a/musl-imported/include/ucontext.h
+++ b/musl-imported/include/ucontext.h
@@ -4,9 +4,10 @@
 extern "C" {
 #endif
 
-#include <features.h>
+/* TODO #include <features.h>*/
 
 #include <signal.h>
+#include <bits/signal.h>
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
 #define NGREG (sizeof(gregset_t)/sizeof(greg_t))
-- 
2.17.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®.