diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp
index 2afa3221667..926256d99b2 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 b629df423a2..77f7d9d81ec 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"
>
+
+