diff --git a/dlls/mshtml/Bg.rc b/dlls/mshtml/Bg.rc
index 92c86b6ba4f..a8fd605ab09 100644
--- a/dlls/mshtml/Bg.rc
+++ b/dlls/mshtml/Bg.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Da.rc b/dlls/mshtml/Da.rc
index 47579b5a4d8..574ea093afe 100644
--- a/dlls/mshtml/Da.rc
+++ b/dlls/mshtml/Da.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/De.rc b/dlls/mshtml/De.rc
index 991e84d28fd..e1963ecd947 100644
--- a/dlls/mshtml/De.rc
+++ b/dlls/mshtml/De.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
@@ -69,5 +70,3 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "OK", IDOK, 40, 65, 45, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Abbrechen", IDCANCEL, 115, 65, 45, 15, WS_GROUP | WS_TABSTOP
}
-
-#pragma code_page(default)
diff --git a/dlls/mshtml/En.rc b/dlls/mshtml/En.rc
index 09370deb353..41ee1197050 100644
--- a/dlls/mshtml/En.rc
+++ b/dlls/mshtml/En.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Es.rc b/dlls/mshtml/Es.rc
index 94af0cfaf5c..fb79f87852c 100644
--- a/dlls/mshtml/Es.rc
+++ b/dlls/mshtml/Es.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
diff --git a/dlls/mshtml/Fi.rc b/dlls/mshtml/Fi.rc
index d1d389a8ba5..564345d6960 100644
--- a/dlls/mshtml/Fi.rc
+++ b/dlls/mshtml/Fi.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Fr.rc b/dlls/mshtml/Fr.rc
index 507d0c2ba32..4d45d510d50 100644
--- a/dlls/mshtml/Fr.rc
+++ b/dlls/mshtml/Fr.rc
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
diff --git a/dlls/mshtml/Hu.rc b/dlls/mshtml/Hu.rc
index 7f3d25446ad..137a1007198 100644
--- a/dlls/mshtml/Hu.rc
+++ b/dlls/mshtml/Hu.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Ja.rc b/dlls/mshtml/Ja.rc
index 4e060d7d1c0..202bd43164c 100644
--- a/dlls/mshtml/Ja.rc
+++ b/dlls/mshtml/Ja.rc
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
+
/* UTF-8 */
#pragma code_page(65001)
@@ -66,4 +68,3 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "OK", IDOK, 40, 65, 45, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "キャンセル", IDCANCEL, 115, 65, 45, 15, WS_GROUP | WS_TABSTOP
}
-#pragma code_page(default)
diff --git a/dlls/mshtml/Ko.rc b/dlls/mshtml/Ko.rc
index efad0075a87..01456e39d0d 100644
--- a/dlls/mshtml/Ko.rc
+++ b/dlls/mshtml/Ko.rc
@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Lt.rc b/dlls/mshtml/Lt.rc
index f63b177746d..26167a9adc1 100644
--- a/dlls/mshtml/Lt.rc
+++ b/dlls/mshtml/Lt.rc
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
+
/* UTF-8 */
#pragma code_page(65001)
@@ -66,5 +68,3 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "Gerai", IDOK, 40, 65, 45, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Atsisakyti", IDCANCEL, 115, 65, 45, 15, WS_GROUP | WS_TABSTOP
}
-
-#pragma code_page(default)
diff --git a/dlls/mshtml/Makefile.in b/dlls/mshtml/Makefile.in
index 241ec9d22ed..acda821c057 100644
--- a/dlls/mshtml/Makefile.in
+++ b/dlls/mshtml/Makefile.in
@@ -65,7 +65,29 @@ C_SRCS = \
txtrange.c \
view.c
-RC_SRCS = rsrc.rc
+RC_SRCS = \
+ Bg.rc \
+ Da.rc \
+ De.rc \
+ En.rc \
+ Es.rc \
+ Fi.rc \
+ Fr.rc \
+ Hu.rc \
+ Ja.rc \
+ Ko.rc \
+ Lt.rc \
+ Nl.rc \
+ No.rc \
+ Pl.rc \
+ Pt.rc \
+ Ro.rc \
+ Ru.rc \
+ Si.rc \
+ Sv.rc \
+ Tr.rc \
+ Zh.rc \
+ rsrc.rc
IDL_H_SRCS = nsiface.idl
diff --git a/dlls/mshtml/Nl.rc b/dlls/mshtml/Nl.rc
index f6f47e174b3..1aab09c79d6 100644
--- a/dlls/mshtml/Nl.rc
+++ b/dlls/mshtml/Nl.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
diff --git a/dlls/mshtml/No.rc b/dlls/mshtml/No.rc
index 6060a515365..4e24ece4a6f 100644
--- a/dlls/mshtml/No.rc
+++ b/dlls/mshtml/No.rc
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
diff --git a/dlls/mshtml/Pl.rc b/dlls/mshtml/Pl.rc
index a17768651ef..11659ee2297 100644
--- a/dlls/mshtml/Pl.rc
+++ b/dlls/mshtml/Pl.rc
@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Pt.rc b/dlls/mshtml/Pt.rc
index 0a83ee06a41..6a471e43840 100644
--- a/dlls/mshtml/Pt.rc
+++ b/dlls/mshtml/Pt.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
diff --git a/dlls/mshtml/Ro.rc b/dlls/mshtml/Ro.rc
index 4bb71993c47..1bac21645d2 100644
--- a/dlls/mshtml/Ro.rc
+++ b/dlls/mshtml/Ro.rc
@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
@@ -65,5 +66,3 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "OK", IDOK, 40, 65, 45, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Renunță", IDCANCEL, 115, 65, 45, 15, WS_GROUP | WS_TABSTOP
}
-
-#pragma code_page(default)
diff --git a/dlls/mshtml/Ru.rc b/dlls/mshtml/Ru.rc
index 9460f243567..d6fbc2b50c8 100644
--- a/dlls/mshtml/Ru.rc
+++ b/dlls/mshtml/Ru.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Si.rc b/dlls/mshtml/Si.rc
index 9500c183d89..92721df350d 100644
--- a/dlls/mshtml/Si.rc
+++ b/dlls/mshtml/Si.rc
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
+
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@@ -66,5 +68,3 @@ FONT 8, "MS Shell Dlg"
PUSHBUTTON "V redu", IDOK, 40, 65, 45, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Prekliči", IDCANCEL, 115, 65, 45, 15, WS_GROUP | WS_TABSTOP
}
-
-#pragma code_page(default)
diff --git a/dlls/mshtml/Sv.rc b/dlls/mshtml/Sv.rc
index b6a1fd04573..041ff8b5dc7 100644
--- a/dlls/mshtml/Sv.rc
+++ b/dlls/mshtml/Sv.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
diff --git a/dlls/mshtml/Tr.rc b/dlls/mshtml/Tr.rc
index 6d843a1503d..7e85fc6b4a1 100644
--- a/dlls/mshtml/Tr.rc
+++ b/dlls/mshtml/Tr.rc
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
diff --git a/dlls/mshtml/Zh.rc b/dlls/mshtml/Zh.rc
index 4b258a48fca..2365120e5bb 100644
--- a/dlls/mshtml/Zh.rc
+++ b/dlls/mshtml/Zh.rc
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "resource.h"
+
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
@@ -94,5 +96,3 @@ FONT 9, "MS Shell Dlg"
PUSHBUTTON "確定", IDOK, 200, 10, 45, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "取消", IDCANCEL, 200, 28, 45, 14, WS_GROUP | WS_TABSTOP
}
-
-#pragma code_page(default)
diff --git a/dlls/mshtml/resource.h b/dlls/mshtml/resource.h
index f40938054e3..1e926378b10 100644
--- a/dlls/mshtml/resource.h
+++ b/dlls/mshtml/resource.h
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include
+#include
+#include
+
#define IDS_HTMLDISABLED 7500
#define IDS_HTMLDOCUMENT 7501
#define IDS_DOWNLOADING 7502
diff --git a/dlls/mshtml/rsrc.rc b/dlls/mshtml/rsrc.rc
index 8be957f7156..5e669de70ef 100644
--- a/dlls/mshtml/rsrc.rc
+++ b/dlls/mshtml/rsrc.rc
@@ -16,13 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "windef.h"
-#include "winuser.h"
-#include "commctrl.h"
-#include "mshtmcid.h"
-
-#include "resource.h"
-
#define WINE_OLESELFREGISTER
#define WINE_FILEDESCRIPTION_STR "Wine HTML Viewer"
#define WINE_FILENAME_STR "mshtml.dll"
@@ -33,30 +26,6 @@
#include "wine/wine_common_ver.rc"
-#include "Bg.rc"
-#include "Da.rc"
-#include "De.rc"
-#include "En.rc"
-#include "Es.rc"
-#include "Fi.rc"
-#include "Fr.rc"
-#include "Hu.rc"
-#include "Ja.rc"
-#include "Ko.rc"
-#include "Lt.rc"
-#include "Nl.rc"
-#include "No.rc"
-#include "Pl.rc"
-#include "Pt.rc"
-#include "Ro.rc"
-#include "Ru.rc"
-#include "Si.rc"
-#include "Sv.rc"
-#include "Tr.rc"
-#include "Zh.rc"
-
-LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-
/* @makedep: mshtml.inf */
REGINST REGINST mshtml.inf