projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compile error 'intrinsic function not declared'
[openssl.git]
/
crypto
/
modes
/
modes_lcl.h
diff --git
a/crypto/modes/modes_lcl.h
b/crypto/modes/modes_lcl.h
index 7a1603bf90820b391054ad5a09872ffee5fc5847..ec3c367c0372c44f5a612bf3c46371a3113d4145 100644
(file)
--- a/
crypto/modes/modes_lcl.h
+++ b/
crypto/modes/modes_lcl.h
@@
-73,6
+73,7
@@
typedef unsigned char u8;
# endif
# elif defined(_MSC_VER)
# if _MSC_VER>=1300
+# include <stdlib.h>
# pragma intrinsic(_byteswap_uint64,_byteswap_ulong)
# define BSWAP8(x) _byteswap_uint64((u64)(x))
# define BSWAP4(x) _byteswap_ulong((u32)(x))