Commit e753770
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);
| ^~~~~~~~1 parent 5e056ff commit e753770
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments