--- a/libidav/utils.c Sun Jan 31 20:39:29 2016 +0100
+++ b/libidav/utils.c Wed Feb 10 12:32:07 2016 +0100
@@ -46,7 +46,6 @@
#define getpasswordchar() getchar()
#endif
-#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <openssl/evp.h>
#include <openssl/bio.h>
--- a/suncc.mk Sun Jan 31 20:39:29 2016 +0100
+++ b/suncc.mk Wed Feb 10 12:32:07 2016 +0100
@@ -33,7 +33,7 @@
CFLAGS = -g -DDEBUG -c -xc99 -D_REENTRANT
COFLAGS = -o
-LDFLAGS = -lmd
+LDFLAGS = -lmd -lm
LOFLAGS = -o
ARFLAGS = -r
RMFLAGS = -f