libidav/crypto.h

changeset 234
33f373b28c8c
parent 207
de23f8881e9f
child 260
26f5f817429e
--- a/libidav/crypto.h	Tue Mar 22 13:05:09 2016 +0100
+++ b/libidav/crypto.h	Tue Mar 22 15:40:34 2016 +0100
@@ -33,7 +33,7 @@
 #include <openssl/evp.h>
 #include <ucx/string.h>
 
-#ifdef __sun
+#if defined(__sun) && defined(__SunOS_5_10)
 #include <sha2.h>
 #define SHA256_Init     SHA256Init
 #define SHA256_Update   SHA256Update

mercurial