]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: add missing limits.h includes
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 7 Sep 2022 14:11:42 +0000 (16:11 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Mon, 12 Sep 2022 07:41:50 +0000 (09:41 +0200)
Closes https://github.com/curl/curl/pull/9453

lib/timediff.c
lib/warnless.c

index 27fd9116387db32acacf069fe3fb17c016c51a4a..c5893187dd90e81a4c7404580c4b74bc08a358f2 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "timediff.h"
 
+#include <limits.h>
+
 /*
  * Converts number of milliseconds into a timeval structure.
  *
index 51187aa52e6d0645f4b6240759be108507a8319d..b00d7a5a260c68a7aec95553d8cefdc6500b0963 100644 (file)
@@ -39,6 +39,8 @@
 
 #include "warnless.h"
 
+#include <limits.h>
+
 #define CURL_MASK_UCHAR   ((unsigned char)~0)
 #define CURL_MASK_SCHAR   (CURL_MASK_UCHAR >> 1)