Commit e30cbcf
committed
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 96993aa commit e30cbcf
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
0 commit comments