diff --git a/src/html/mod_fonts.cpp b/src/html/mod_fonts.cpp
index 45c723c1fb..7d27a6ea0d 100644
--- a/src/html/mod_fonts.cpp
+++ b/src/html/mod_fonts.cpp
@@ -6,10 +6,23 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
#include "wx/defs.h"
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
#include
#include
@@ -172,4 +185,4 @@ TAGS_MODULE_BEGIN(Fonts)
TAGS_MODULE_END(Fonts)
-#endif
\ No newline at end of file
+#endif
diff --git a/src/html/mod_hline.cpp b/src/html/mod_hline.cpp
index c79c3ad13e..b8af76bdbe 100644
--- a/src/html/mod_hline.cpp
+++ b/src/html/mod_hline.cpp
@@ -6,9 +6,24 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
+
#include "wx/defs.h"
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
+
#include
#include
diff --git a/src/html/mod_image.cpp b/src/html/mod_image.cpp
index 908e4b6241..79e38d3a8d 100644
--- a/src/html/mod_image.cpp
+++ b/src/html/mod_image.cpp
@@ -6,9 +6,23 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
+
#include "wx/defs.h"
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
#include
#include
@@ -144,4 +158,4 @@ TAGS_MODULE_BEGIN(Image)
TAGS_MODULE_END(Image)
-#endif
\ No newline at end of file
+#endif
diff --git a/src/html/mod_layout.cpp b/src/html/mod_layout.cpp
index 42b1de108c..b398f93d3c 100644
--- a/src/html/mod_layout.cpp
+++ b/src/html/mod_layout.cpp
@@ -5,9 +5,21 @@
// Copyright: (c) 1999 Vaclav Slavik
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
-#include "wx/defs.h"
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
#include
#include
diff --git a/src/html/mod_links.cpp b/src/html/mod_links.cpp
index 9b92982866..dceb9024af 100644
--- a/src/html/mod_links.cpp
+++ b/src/html/mod_links.cpp
@@ -6,9 +6,23 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
-#include "wx/defs.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
+
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
+
#include
#include
#include
diff --git a/src/html/mod_pre.cpp b/src/html/mod_pre.cpp
index e2fa697bda..0227f795b2 100644
--- a/src/html/mod_pre.cpp
+++ b/src/html/mod_pre.cpp
@@ -6,8 +6,21 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
-#include "wx/defs.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
+
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
#include
#include
diff --git a/src/html/mod_tables.cpp b/src/html/mod_tables.cpp
index 7f9e31c08e..3707b8026d 100644
--- a/src/html/mod_tables.cpp
+++ b/src/html/mod_tables.cpp
@@ -6,8 +6,21 @@
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
-#include "wx/defs.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include
+
#if wxUSE_HTML
+#ifdef __BORDLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WXPRECOMP
+#include
+#endif
+
/*
REMARKS: