The `get_path_max()` function uses `pathconf()` in case `PATH_MAX` is not defined, and for that `<unistd.h>` is needed. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2402
-- Commit Summary --
* Include <unistd.h> for pathconf()
-- File Changes --
M src/tagmanager/tm_source_file.c (1)
-- Patch Links --
https://github.com/geany/geany/pull/2402.patch https://github.com/geany/geany/pull/2402.diff
b4n approved this pull request.
LGTM. Maybe it could be guarded against `PATH_MAX` not being defined, but it might more noise than anything else, so I'm happy with this version.
techee approved this pull request.
LGTM, too.
Merged #2402 into master.
Two experts agreeing is good enough for me :)
github-comments@lists.geany.org