commit | 9947d8789d4388e7cb87bd6209b3d40a20e0d08b | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Wed Jul 15 12:37:52 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Jul 15 12:37:52 2020 +0200 |
tree | 7bbd494df6b90f675085a5581ab9460dc9bdc96e | |
parent | c02d02429de24578cbb868b87b893c6b9236b566 [diff] | |
parent | fd89e242d16128dedef08f47d99ae56aa19b0591 [diff] |
Merge pull request #194 from Redfoxymoon/master Include limits.h for INT_MAX
diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c index 1cb0047..60f9275 100644 --- a/lib/zip_crypto_openssl.c +++ b/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