diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h
index c02a128143..5276a7b601 100644
--- a/include/wx/html/htmlcell.h
+++ b/include/wx/html/htmlcell.h
@@ -17,6 +17,7 @@
#include "wx/html/htmltag.h"
#include "wx/html/htmldefs.h"
#include "wx/window.h"
+#include "wx/brush.h"
class WXDLLIMPEXP_FWD_HTML wxHtmlWindowInterface;
diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp
index 35e229de02..109db31967 100644
--- a/src/html/m_fonts.cpp
+++ b/src/html/m_fonts.cpp
@@ -15,6 +15,7 @@
#if wxUSE_HTML && wxUSE_STREAMS
#ifndef WX_PRECOMP
+ #include "wx/brush.h"
#endif
#include "wx/html/forcelnk.h"
diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp
index bba94b23cd..240e95205c 100644
--- a/tests/filename/filenametest.cpp
+++ b/tests/filename/filenametest.cpp
@@ -27,7 +27,7 @@
#ifdef __WINDOWS__
#include "wx/msw/registry.h"
- #include
+ #include "wx/msw/wrapshl.h"
#include "wx/msw/ole/oleutils.h"
#include "wx/msw/private/comptr.h"
#endif // __WINDOWS__