aboutsummaryrefslogtreecommitdiff
path: root/archivers/libzip/files/patch-git_fd89e242
blob: c78a4ec0c6cb62589c21214810fe456d46a2dc39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
commit fd89e242d16128dedef08f47d99ae56aa19b0591
Author: Ørjan Malde <red@foxi.me>
Date:   Wed Jul 15 12:16:16 2020 +0200

    Include limits.h for INT_MAX

diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c
index 1cb00479..60f92758 100644
--- lib/zip_crypto_openssl.c
+++ lib/zip_crypto_openssl.c
@@ -38,6 +38,7 @@
 #include "zip_crypto.h"
 
 #include <openssl/rand.h>
+#include <limits.h>
 
 #if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
 #define USE_OPENSSL_1_0_API