From: Bernd Edlinger Date: Thu, 19 Apr 2018 20:17:24 +0000 (+0200) Subject: Fix a warning about missing prototype on arm X-Git-Tag: OpenSSL_1_0_2t~21 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7a7afc559ebc0ad88390cc62bfc34c221d595831;p=oweals%2Fopenssl.git Fix a warning about missing prototype on arm (cherry picked from commit 5fc89c1af837026b5812526ef6f519bf7ca42f16) Reviewed-by: Paul Dale Reviewed-by: Nicola Tuveri (Merged from https://github.com/openssl/openssl/pull/8243) --- diff --git a/crypto/armcap.c b/crypto/armcap.c index 356fa15287..6283e37f04 100644 --- a/crypto/armcap.c +++ b/crypto/armcap.c @@ -5,6 +5,7 @@ #include #include +#include "cryptlib.h" #include "arm_arch.h" unsigned int OPENSSL_armcap_P = 0; diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index cdbddf1735..2f9eced4ae 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -106,6 +106,8 @@ extern int OPENSSL_NONPIC_relocated; char *ossl_safe_getenv(const char *); +unsigned long OPENSSL_rdtsc(void); + #ifdef __cplusplus } #endif