[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: Change include order for build with musl
_BSD_SOURCE or similar macro has to be defined when including limits.h for PATH_MAX to be defined. Signed-off-by: Cyril Soldani <cyril.soldani@xxxxxxxxx> --- lib/vfscore/stdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vfscore/stdio.c b/lib/vfscore/stdio.c index 578b20bb..22a1be94 100644 --- a/lib/vfscore/stdio.c +++ b/lib/vfscore/stdio.c @@ -38,11 +38,11 @@ #include <uk/plat/console.h> #include <uk/essentials.h> #include <termios.h> +#include <vfscore/mount.h> // Must come before vfscore/{uio,vnode}.h #include <vfscore/vnode.h> #include <unistd.h> #include <vfscore/uio.h> #include <vfscore/vnode.h> -#include <vfscore/mount.h> static int __write_fn(void *dst __unused, void *src, size_t *cnt) { -- 2.23.0 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |