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

[Minios-devel] [UNIKRAFT PATCH] Fix limits.h header confusion



From: gaulthier gain <gaulthier.gain@xxxxxxxxx>

Use specific 'limits.h' file rather than '<limits.h>' which
may come from another library before in header include list.

This patch is required to compile latest version of musl (see patch
series: Continue MUSL support).

Signed-off-by: gaulthier gain <gaulthier.gain@xxxxxxxxx>
---
 lib/posix-sysinfo/sysinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/posix-sysinfo/sysinfo.c b/lib/posix-sysinfo/sysinfo.c
index 7bcfc8b3..84498635 100644
--- a/lib/posix-sysinfo/sysinfo.c
+++ b/lib/posix-sysinfo/sysinfo.c
@@ -33,7 +33,7 @@
  */
 
 #include <stddef.h>
-#include <limits.h>
+#include <uk/arch/limits.h>
 #include <unistd.h>
 #include <errno.h>
 #include <string.h>
-- 
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®.