]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_setup.h: include `limits.h` before testing for `#ifndef SSIZE_MAX`
authorAndrew <akirillo@uk.ibm.com>
Mon, 8 Sep 2025 12:07:29 +0000 (13:07 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 8 Sep 2025 12:52:55 +0000 (14:52 +0200)
Ref: 93f333c18fffc3c091b149f3e0ec2ca02b8dab40 #18426 #18406
Fixes #18493
Closes #18494

lib/curl_setup.h

index e0fbce92e4b76ccd765c3677449d8fb752e5d580..ed328d679e0c6dbb88a7698fb6a6c4084943f0d0 100644 (file)
 #include <stdint.h>
 #endif
 
+#include <limits.h>
+
 #ifdef _WIN32
 #  ifdef HAVE_IO_H
 #  include <io.h>