From: Andy Polyakov Date: Sun, 30 Jun 2013 21:09:09 +0000 (+0200) Subject: bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca. X-Git-Tag: master-post-reformat~1270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b74ce8d9489b319c0d097ff116b5a0bdb634462d;p=oweals%2Fopenssl.git bn/bn_exp.c: Solaris-specific fix, T4 MONTMUL relies on alloca. --- diff --git a/crypto/bn/bn_exp.c b/crypto/bn/bn_exp.c index 8734263bef..adc478caa6 100644 --- a/crypto/bn/bn_exp.c +++ b/crypto/bn/bn_exp.c @@ -124,6 +124,8 @@ # ifndef alloca # define alloca(s) __builtin_alloca((s)) # endif +#elif defined(__sun) +# include #endif #if defined(OPENSSL_BN_ASM_MONT) && (defined(__sparc__) || defined(__sparc))