  namespace MLAPI {
 diff -ruN trilinos-11.10.2/packages/ml/src/Utils/ml_epetra_utils.cpp trilinos-11.10.2-new/packages/ml/src/Utils/ml_epetra_utils.cpp
 --- trilinos-11.10.2/packages/ml/src/Utils/ml_epetra_utils.cpp	2014-08-14 10:51:54.000000000 -0600
-+++ trilinos-11.10.2-new/packages/ml/src/Utils/ml_epetra_utils.cpp	2014-09-03 07:16:09.751720265 -0600
++++ trilinos-11.10.2-new/packages/ml/src/Utils/ml_epetra_utils.cpp	2014-09-05 13:50:08.407023700 -0600
 @@ -42,6 +42,8 @@
  #endif
  #ifdef _MSC_VER

 #ifdef HAVE_ML_TEUCHOS
diff -ruN trilinos-11.10.2/packages/ml/src/Utils/ml_utils.c trilinos-11.10.2-new/packages/ml/src/Utils/ml_utils.c
--- trilinos-11.10.2/packages/ml/src/Utils/ml_utils.c	2014-08-14 10:51:54.000000000 -0600
+++ trilinos-11.10.2-new/packages/ml/src/Utils/ml_utils.c	2014-09-03 07:16:09.751720265 -0600
@@ -1956,13 +1956,15 @@
       if (i == mypid) {
 #if defined(TFLOP) || defined(JANUS_STLPORT) || defined(COUGAR)

 
 # if using parallel MUMPS, must also link in scalapack and BLACS
 
diff -ruN trilinos-11.10.2/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h trilinos-11.10.2-new/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h
--- trilinos-11.10.2/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h	2014-08-14 10:51:28.000000000 -0600
+++ trilinos-11.10.2-new/packages/ifpack/src/supportgraph/Ifpack_SupportGraph.h	2014-09-05 13:50:47.927023700 -0600
@@ -465,7 +465,12 @@
               if (Randomize_)
               {
                 // Add small random pertubation. 
+#ifdef _WIN32
+// See http://stackoverflow.com/questions/11065861/drand48-on-windows
+                weights[k] *= (1.0 + 1e-8 * (double)rand()/RAND_MAX);
+#else
                 weights[k] *= (1.0 + 1e-8 * drand48());
+#endif
               }
 
 	      k++;
diff -ruN trilinos-11.10.2/packages/ml/src/MLAPI/MLAPI_Workspace.cpp trilinos-11.10.2-new/packages/ml/src/MLAPI/MLAPI_Workspace.cpp
--- trilinos-11.10.2/packages/ml/src/MLAPI/MLAPI_Workspace.cpp	2014-08-14 10:51:55.000000000 -0600
+++ trilinos-11.10.2-new/packages/ml/src/MLAPI/MLAPI_Workspace.cpp	2014-09-05 13:50:08.397023700 -0600
@@ -15,6 +15,8 @@
 #include "MLAPI_Workspace.h"
 #ifdef _MSC_VER
