Skip to content

Fix missing SSIZE_MAX declaration by including <climits>#136

Open
miried wants to merge 1 commit into
decompals:mainfrom
miried:fix/ssize-max-missing-climits
Open

Fix missing SSIZE_MAX declaration by including <climits>#136
miried wants to merge 1 commit into
decompals:mainfrom
miried:fix/ssize-max-missing-climits

Conversation

@miried

@miried miried commented Jul 3, 2026

Copy link
Copy Markdown

src/files.cpp and src/async_io_epoll.cpp use SSIZE_MAX without including , relying on it being pulled in transitively by other headers. Newer glibc/libstdc++ (e.g. GCC 16 / glibc 2.43) no longer expose SSIZE_MAX this way, breaking the build. Added the explicit include to these files and to src/async_io_kqueue.cpp, which has the same latent issue.

src/files.cpp and src/async_io_epoll.cpp use SSIZE_MAX without
including <climits>, relying on it being pulled in transitively
by other headers. Newer glibc/libstdc++ (e.g. GCC 16 / glibc 2.43)
no longer expose SSIZE_MAX this way, breaking the build. Added
the explicit include to these files and to src/async_io_kqueue.cpp,
which has the same latent issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant