diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp
index 61247b7f726..5940b768a5a 100644
--- a/PC/VC6/pythoncore.dsp
+++ b/PC/VC6/pythoncore.dsp
@@ -655,6 +655,10 @@ SOURCE=..\..\Python\pytime.c
# End Source File
# Begin Source File
+SOURCE=..\..\Python\random.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Objects\rangeobject.c
# End Source File
# Begin Source File
diff --git a/PC/VS7.1/pythoncore.vcproj b/PC/VS7.1/pythoncore.vcproj
index d882911a684..36af21354a8 100644
--- a/PC/VS7.1/pythoncore.vcproj
+++ b/PC/VS7.1/pythoncore.vcproj
@@ -766,6 +766,9 @@
+
+
diff --git a/PC/VS8.0/pythoncore.vcproj b/PC/VS8.0/pythoncore.vcproj
index 5e1ef1ac19c..e81559e1fd5 100644
--- a/PC/VS8.0/pythoncore.vcproj
+++ b/PC/VS8.0/pythoncore.vcproj
@@ -1882,6 +1882,10 @@
RelativePath="..\..\Python\pythonrun.c"
>
+
+