diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp
index 6979805f45..84b06fddf6 100644
--- a/src/html/htmlcell.cpp
+++ b/src/html/htmlcell.cpp
@@ -13,6 +13,7 @@
#include "wx/wxprec.h"
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
diff --git a/src/html/htmlfilt.cpp b/src/html/htmlfilt.cpp
index bb55c450cc..3dfac30ec7 100644
--- a/src/html/htmlfilt.cpp
+++ b/src/html/htmlfilt.cpp
@@ -14,6 +14,7 @@
#include "wx/wxprec.h"
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp
index 30b3dc23b3..3131e908b0 100644
--- a/src/html/htmprint.cpp
+++ b/src/html/htmprint.cpp
@@ -16,6 +16,8 @@
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
+#include "wx/defs.h"
+
#ifdef __BORLANDC__
#pragma hdrstop
#endif
diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp
index 3a1ad13dbb..4fd163e68b 100644
--- a/src/html/m_layout.cpp
+++ b/src/html/m_layout.cpp
@@ -10,15 +10,17 @@
#pragma implementation
#endif
-#include
+#include "wx/wxprec.h"
+
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
#pragma hdrstop
#endif
#ifndef WXPRECOMP
-#include
+#include "wx/wx.h"
#endif
diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp
index c4a7107d89..462cd36acf 100644
--- a/src/html/m_links.cpp
+++ b/src/html/m_links.cpp
@@ -11,8 +11,9 @@
#pragma implementation
#endif
-#include
+#include "wx/wxprec.h"
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
@@ -20,7 +21,7 @@
#endif
#ifndef WXPRECOMP
-#include
+#include "wx/wx.h"
#endif
diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp
index d23cd40447..05d7f3069a 100644
--- a/src/html/m_list.cpp
+++ b/src/html/m_list.cpp
@@ -10,7 +10,7 @@
#pragma implementation
#endif
-#include
+#include "wx/wxprec.h"
#include "wx/defs.h"
diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp
index 8f0e7bb2ea..98d6d8581f 100644
--- a/src/html/m_pre.cpp
+++ b/src/html/m_pre.cpp
@@ -13,6 +13,7 @@
#include
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
#pragma hdrstop
diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp
index 67c6df4161..4f4d36de65 100644
--- a/src/html/m_tables.cpp
+++ b/src/html/m_tables.cpp
@@ -13,6 +13,7 @@
#include
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__
#pragma hdrstop
diff --git a/src/html/search.cpp b/src/html/search.cpp
index 1c6e8c77fa..78df71a708 100644
--- a/src/html/search.cpp
+++ b/src/html/search.cpp
@@ -13,9 +13,9 @@
#pragma implementation
#endif
-#include
+#include "wx/wxprec.h"
-#include
+#include "wx/defs.h"
#if wxUSE_HTML
#ifdef __BORDLANDC__