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

[Minios-devel] [UNIKRAFT PATCH 1/2] lib/nolibc: Add _SC_NPROCESSORS_ONLN define



Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 lib/nolibc/include/unistd.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
index 34dc1f8d..db3b5a6f 100644
--- a/lib/nolibc/include/unistd.h
+++ b/lib/nolibc/include/unistd.h
@@ -46,6 +46,7 @@ extern "C" {
 #define __NEED_size_t
 #define __NEED_ssize_t
 #define __NEED_off_t
+#define _SC_NPROCESSORS_ONLN 10
 #include <nolibc-internal/shareddefs.h>
 
 unsigned int sleep(unsigned int seconds);
-- 
2.21.0

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