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

[Minios-devel] [UNIKRAFT PATCH 1/3] lib/nolibc: Add _SC_PAGESIZE macro



We need this in order to use lib/uksysinfo with nolibc.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 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 e6854e25..96cce34d 100644
--- a/lib/nolibc/include/unistd.h
+++ b/lib/nolibc/include/unistd.h
@@ -51,6 +51,7 @@ extern "C" {
 /*
  * Sysconf name values
  */
+#define _SC_PAGESIZE 8
 #define _SC_NPROCESSORS_ONLN 10
 
 #include <nolibc-internal/shareddefs.h>
-- 
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®.