curl_setup.h: include limits.h before testing for #ifndef SSIZE_MAX

Ref: 93f333c18f #18426 #18406
Fixes #18493
Closes #18494
This commit is contained in:
Andrew 2025-09-08 13:07:29 +01:00 committed by Viktor Szakats
parent 07a688135d
commit 7c9878ff0c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -479,6 +479,8 @@
#include <stdint.h>
#endif
#include <limits.h>
#ifdef _WIN32
# ifdef HAVE_IO_H
# include <io.h>