1From fd89e242d16128dedef08f47d99ae56aa19b0591 Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?=C3=98rjan=20Malde?= <red@foxi.me> 3Date: Wed, 15 Jul 2020 12:16:16 +0200 4Subject: [PATCH] Include limits.h for INT_MAX 5 6[Retrieved from: 7https://github.com/nih-at/libzip/commit/fd89e242d16128dedef08f47d99ae56aa19b0591] 8Signed-off-by: Paul Cercueil <paul@crapouillou.net> 9--- 10 lib/zip_crypto_openssl.c | 1 + 11 1 file changed, 1 insertion(+) 12 13diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c 14index 1cb00479..60f92758 100644 15--- a/lib/zip_crypto_openssl.c 16+++ b/lib/zip_crypto_openssl.c 17@@ -38,6 +38,7 @@ 18 #include "zip_crypto.h" 19 20 #include <openssl/rand.h> 21+#include <limits.h> 22 23 #if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) 24 #define USE_OPENSSL_1_0_API 25-- 262.28.0 27 28