From 92cc3ad1f3dbf0beec91459b52149cb5bd7d9635 Mon Sep 17 00:00:00 2001 From: Johannes Nixdorf Date: Thu, 14 Aug 2025 12:24:14 +0200 Subject: [PATCH] loader: Include limits.h for PATH_MAX This fixes compiling against musl libc: loader/loader.c: In function 'normalize_pat': loader/loader.c:405:52: error: 'PATH_MAX' undeclared (first use in this function) 405 | char *path = loader_instance_heap_calloc(inst, PATH_MAX, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); | ^~~~~~~~ --- loader/loader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/loader.c b/loader/loader.c index c6ace5027..0b76b7afb 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include