Index: trunk/psLib/src/math/psMD5.c
===================================================================
--- trunk/psLib/src/math/psMD5.c	(revision 11616)
+++ trunk/psLib/src/math/psMD5.c	(revision 12430)
@@ -5,5 +5,13 @@
 #include <stdio.h>
 #include <string.h>
+
+#ifdef HAVE_SYS_MD5_H
+// Seems to be the case for Solaris
+#include <sys/md5.h>
+#else
+// Seems to be the case for most others
 #include <openssl/md5.h>
+#endif // HAVE_SYS_MD5_H
+
 
 #include "psAssert.h"
