diff --git a/clientgui/BOINCHtmlLBox.cpp b/clientgui/BOINCHtmlLBox.cpp
index 451236ea80..d1e9e7e827 100644
--- a/clientgui/BOINCHtmlLBox.cpp
+++ b/clientgui/BOINCHtmlLBox.cpp
@@ -20,6 +20,7 @@
// headers
// ----------------------------------------------------------------------------
+#include "stdwx.h"
#include "BOINCHtmlLBox.h"
// ----------------------------------------------------------------------------
diff --git a/clientgui/BOINCVListBox.cpp b/clientgui/BOINCVListBox.cpp
index 6f02d6f4db..58101942d1 100644
--- a/clientgui/BOINCVListBox.cpp
+++ b/clientgui/BOINCVListBox.cpp
@@ -20,6 +20,7 @@
// headers
// ----------------------------------------------------------------------------
+#include "stdwx.h"
#include "BOINCVListBox.h"
// ----------------------------------------------------------------------------