summaryrefslogtreecommitdiff
path: root/rijndael.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
commit1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc (patch)
treeb4cbd949b59bbf44f8e627d3b91c3556754b9d06 /rijndael.cpp
parent5411864299d2db1c7640dd03ab55d158db1e20e1 (diff)
downloadcryptopp-1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc.tar.gz
fix compile on OpenSolaris 8.11
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@450 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rijndael.cpp')
-rw-r--r--rijndael.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rijndael.cpp b/rijndael.cpp
index d6b267a..e10b3df 100644
--- a/rijndael.cpp
+++ b/rijndael.cpp
@@ -69,6 +69,10 @@ being unloaded from L1 cache, until that round is finished.
#include "misc.h"
#include "cpu.h"
+#ifdef __sun
+#include <alloca.h>
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
#ifdef CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS