--- crypto/rand/Makefile.thd	2005-10-05 11:55:31.000000000 -0500
+++ crypto/rand/Makefile	2005-10-05 11:55:39.000000000 -0500
@@ -6,7 +6,7 @@
 TOP=	../..
 CC=	cc
 INCLUDES=
-CFLAG=-g
+CFLAG=-g -DOPENSSL_THREAD
 INSTALL_PREFIX=
 OPENSSLDIR=     /usr/local/ssl
 INSTALLTOP=/usr/local/ssl
--- crypto/rand/md_rand.c.thd	2005-10-05 11:56:11.000000000 -0500
+++ crypto/rand/md_rand.c	2005-10-05 11:56:36.000000000 -0500
@@ -310,6 +310,7 @@
 	if (!do_not_lock) CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
 	
 #if !defined(OPENSSL_THREADS) && !defined(OPENSSL_SYS_WIN32)
+#error "STOP THE BUILD. We should not be here"
 	assert(md_c[1] == md_count[1]);
 #endif
 	}
