Commit a8458ba
common BUGFIX define PATH_MAX if not available
PATH_MAX is optional in POSIX, and thus may not be provided (e.g. on
GNU/Hurd). Provide a fallback definition for it, so the existing code
keeps working for now; include <limits.h> to ensure that PATH_MAX is
available if provided on the current OS/libc.1 parent 05a8233 commit a8458ba
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
0 commit comments