diff --git a/client/cs_trickle.C b/client/cs_trickle.C
index f379891da1..3b68422c57 100644
--- a/client/cs_trickle.C
+++ b/client/cs_trickle.C
@@ -17,6 +17,11 @@
// Contributor(s):
//
+#include "cpp.h"
+#ifdef _WIN32
+#include "stdafx.h"
+#endif
+
#include "error_numbers.h"
#include "file_names.h"
#include "filesys.h"
diff --git a/win_build/boinc_cli.vcproj b/win_build/boinc_cli.vcproj
index 4443dbf4c7..6a1dc1684b 100644
--- a/win_build/boinc_cli.vcproj
+++ b/win_build/boinc_cli.vcproj
@@ -489,6 +489,9 @@
CompileAs="2"/>
+
+
diff --git a/win_build/boinc_gui.vcproj b/win_build/boinc_gui.vcproj
index 18526f0dc4..7e24b42767 100644
--- a/win_build/boinc_gui.vcproj
+++ b/win_build/boinc_gui.vcproj
@@ -491,6 +491,9 @@
CompileAs="2"/>
+
+
@@ -1355,10 +1358,10 @@
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+ RelativePath="..\client\win\res\boinc.bmp">
+ RelativePath="..\client\win\boinc.bmp">
@@ -1378,10 +1381,10 @@
+ RelativePath="..\client\win\boincsm.bmp">
+ RelativePath="..\client\win\res\boincsm.bmp">