[ros-diffs] [cfinck] 28959: - Revert my previous attempts to fix the "wmc" and "wrc" builds - Use "typedefs_host.h" in both components now - wrc needs *MANY* definitions from the Windows headers, therefore I created a new file "wrcrostypes.h", which contains all these definitions.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Sep 8 23:40:36 CEST 2007


Author: cfinck
Date: Sun Sep  9 01:40:36 2007
New Revision: 28959

URL: http://svn.reactos.org/svn/reactos?rev=28959&view=rev
Log:
- Revert my previous attempts to fix the "wmc" and "wrc" builds
- Use "typedefs_host.h" in both components now
- wrc needs *MANY* definitions from the Windows headers, therefore I created a new file "wrcrostypes.h", which contains all these definitions.

Added:
    trunk/reactos/tools/wrc/wrcrostypes.h
Modified:
    trunk/reactos/include/reactos/typedefs_host.h
    trunk/reactos/tools/wmc/wmctypes.h
    trunk/reactos/tools/wrc/dumpres.c
    trunk/reactos/tools/wrc/genres.c
    trunk/reactos/tools/wrc/lex.yy.c
    trunk/reactos/tools/wrc/newstruc.c
    trunk/reactos/tools/wrc/parser.l
    trunk/reactos/tools/wrc/parser.tab.c
    trunk/reactos/tools/wrc/parser.y
    trunk/reactos/tools/wrc/port/mkstemps.c
    trunk/reactos/tools/wrc/readres.c
    trunk/reactos/tools/wrc/translation.c
    trunk/reactos/tools/wrc/utils.c
    trunk/reactos/tools/wrc/wrc.c
    trunk/reactos/tools/wrc/wrc.mak
    trunk/reactos/tools/wrc/wrctypes.h
    trunk/reactos/tools/wrc/writeres.c

Modified: trunk/reactos/include/reactos/typedefs_host.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/typedefs_host.h?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/include/reactos/typedefs_host.h (original)
+++ trunk/reactos/include/reactos/typedefs_host.h Sun Sep  9 01:40:36 2007
@@ -58,14 +58,15 @@
 typedef const char *PCSTR, *LPCSTR;
 typedef short SHORT;
 typedef unsigned short USHORT;
-typedef int LONG, *PLONG;
+typedef unsigned short WORD, *PWORD, *LPWORD;
+typedef int LONG, *PLONG, *LPLONG;
 typedef unsigned int ULONG, *PULONG, DWORD, *LPDWORD;
 typedef long long LONGLONG;
 typedef unsigned long long ULONGLONG;
 typedef UCHAR BOOLEAN, *PBOOLEAN;
 typedef int BOOL;
 typedef long int W64 LONG_PTR, *PLONG_PTR;
-typedef long unsigned int W64 ULONG_PTR, *PULONG_PTR;
+typedef long unsigned int W64 ULONG_PTR, DWORD_PTR, *PULONG_PTR;
 typedef ULONG_PTR SIZE_T, *PSIZE_T;
 typedef unsigned short WCHAR, *PWCHAR, *PWSTR, *LPWSTR;
 typedef const unsigned short *PCWSTR, *LPCWSTR;

Modified: trunk/reactos/tools/wmc/wmctypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wmc/wmctypes.h?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wmc/wmctypes.h (original)
+++ trunk/reactos/tools/wmc/wmctypes.h Sun Sep  9 01:40:36 2007
@@ -22,9 +22,7 @@
 #define __WMC_WMCTYPES_H
 
 #include <stdarg.h>
-#include <typedefs64.h>
-#include "windef.h"
-#include "winbase.h"
+#include <typedefs_host.h>
 
 /* Byteordering defines */
 #define WMC_BO_NATIVE	0x00

Modified: trunk/reactos/tools/wrc/dumpres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/dumpres.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/dumpres.c (original)
+++ trunk/reactos/tools/wrc/dumpres.c Sun Sep  9 01:40:36 2007
@@ -18,11 +18,11 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <assert.h>
 #include <stdio.h>
 #include <ctype.h>
 
+#include "wrc.h"
 #include "dumpres.h"
 
 /*

Modified: trunk/reactos/tools/wrc/genres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/genres.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/genres.c (original)
+++ trunk/reactos/tools/wrc/genres.c Sun Sep  9 01:40:36 2007
@@ -27,7 +27,6 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -35,12 +34,9 @@
 #include <assert.h>
 #include <ctype.h>
 
+#include "wrc.h"
 #include "genres.h"
 #include "utils.h"
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
 #include "wine/unicode.h"
 
 /* Fix 64-bit host, re: put_dword */

Modified: trunk/reactos/tools/wrc/lex.yy.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/lex.yy.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/lex.yy.c (original)
+++ trunk/reactos/tools/wrc/lex.yy.c Sun Sep  9 01:40:36 2007
@@ -720,7 +720,6 @@
 
 /*#define LEX_DEBUG*/
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -728,6 +727,7 @@
 #include <assert.h>
 
 #include "wine/unicode.h"
+#include "wrc.h"
 #include "utils.h"
 #include "parser.h"
 #include "newstruc.h"

Modified: trunk/reactos/tools/wrc/newstruc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/newstruc.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/newstruc.c (original)
+++ trunk/reactos/tools/wrc/newstruc.c Sun Sep  9 01:40:36 2007
@@ -21,18 +21,16 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 #include <ctype.h>
 
+#include "wrc.h"
 #include "newstruc.h"
 #include "utils.h"
 #include "parser.h"
-
-#include "wingdi.h"	/* for BITMAPINFOHEADER */
 
 #include <pshpack2.h>
 typedef struct

Modified: trunk/reactos/tools/wrc/parser.l
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/parser.l?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/parser.l (original)
+++ trunk/reactos/tools/wrc/parser.l Sun Sep  9 01:40:36 2007
@@ -98,7 +98,6 @@
 
 /*#define LEX_DEBUG*/
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -106,6 +105,7 @@
 #include <assert.h>
 
 #include "wine/unicode.h"
+#include "wrc.h"
 #include "utils.h"
 #include "parser.h"
 #include "newstruc.h"

Modified: trunk/reactos/tools/wrc/parser.tab.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/parser.tab.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/parser.tab.c (original)
+++ trunk/reactos/tools/wrc/parser.tab.c Sun Sep  9 01:40:36 2007
@@ -352,7 +352,6 @@
 #include "config.h"
 #include "wine/port.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
@@ -363,16 +362,13 @@
 #include <alloca.h>
 #endif
 
+#include "wrc.h"
 #include "utils.h"
 #include "newstruc.h"
 #include "dumpres.h"
 #include "wine/wpp.h"
 #include "wine/unicode.h"
 #include "parser.h"
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
 
 #if defined(YYBYACC)
 	/* Berkeley yacc (byacc) doesn't seem to know about these */

Modified: trunk/reactos/tools/wrc/parser.y
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/parser.y?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/parser.y (original)
+++ trunk/reactos/tools/wrc/parser.y Sun Sep  9 01:40:36 2007
@@ -123,7 +123,6 @@
 #include "config.h"
 #include "wine/port.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
@@ -134,16 +133,13 @@
 #include <alloca.h>
 #endif
 
+#include "wrc.h"
 #include "utils.h"
 #include "newstruc.h"
 #include "dumpres.h"
 #include "wine/wpp.h"
 #include "wine/unicode.h"
 #include "parser.h"
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
 
 #if defined(YYBYACC)
 	/* Berkeley yacc (byacc) doesn't seem to know about these */

Modified: trunk/reactos/tools/wrc/port/mkstemps.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/port/mkstemps.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/port/mkstemps.c (original)
+++ trunk/reactos/tools/wrc/port/mkstemps.c Sun Sep  9 01:40:36 2007
@@ -19,7 +19,6 @@
 #include "config.h"
 
 #include <sys/types.h>
-#include "windef.h"
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>

Modified: trunk/reactos/tools/wrc/readres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/readres.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/readres.c (original)
+++ trunk/reactos/tools/wrc/readres.c Sun Sep  9 01:40:36 2007
@@ -20,12 +20,12 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
+#include "wrc.h"
 #include "readres.h"
 #include "newstruc.h"
 #include "utils.h"

Modified: trunk/reactos/tools/wrc/translation.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/translation.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/translation.c (original)
+++ trunk/reactos/tools/wrc/translation.c Sun Sep  9 01:40:36 2007
@@ -16,11 +16,11 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 
 #include "dumpres.h"
+#include "wrc.h"
 
 #define MASTER_LANGUAGE LANG_ENGLISH
 #define NB_LANG 0x94

Modified: trunk/reactos/tools/wrc/utils.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/utils.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/utils.c (original)
+++ trunk/reactos/tools/wrc/utils.c Sun Sep  9 01:40:36 2007
@@ -20,7 +20,6 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -30,6 +29,7 @@
 #include <ctype.h>
 
 #include "wine/unicode.h"
+#include "wrc.h"
 #include "utils.h"
 #include "parser.h"
 

Modified: trunk/reactos/tools/wrc/wrc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/wrc.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/wrc.c (original)
+++ trunk/reactos/tools/wrc/wrc.c Sun Sep  9 01:40:36 2007
@@ -21,7 +21,6 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H
@@ -35,6 +34,7 @@
 # include <getopt.h>
 #endif
 
+#include "wrc.h"
 #include "utils.h"
 #include "readres.h"
 #include "dumpres.h"

Modified: trunk/reactos/tools/wrc/wrc.mak
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/wrc.mak?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/wrc.mak (original)
+++ trunk/reactos/tools/wrc/wrc.mak Sun Sep  9 01:40:36 2007
@@ -56,7 +56,6 @@
 
 WRC_HOST_CFLAGS = -I$(WRC_BASE) $(TOOLS_CFLAGS) \
                   -D__USE_W32API -DWINE_UNICODE_API= \
-                  -Dwchar_t="unsigned short" -D_WCHAR_T_DEFINED \
                   -I$(UNICODE_BASE) -I$(WPP_BASE) \
                   -Iinclude/reactos/wine -Iinclude/reactos -Iinclude -Iinclude/psdk \
                   -I$(INTERMEDIATE_)include

Added: trunk/reactos/tools/wrc/wrcrostypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/wrcrostypes.h?rev=28959&view=auto
==============================================================================
--- trunk/reactos/tools/wrc/wrcrostypes.h (added)
+++ trunk/reactos/tools/wrc/wrcrostypes.h Sun Sep  9 01:40:36 2007
@@ -1,0 +1,197 @@
+/*
+  PROJECT:    ReactOS
+  LICENSE:    GPL v2 or any later version
+  FILE:       tools/wrc/wrcrostypes.h
+  PURPOSE:    Definitions and macros from Windows headers, which are needed for wrc
+  COPYRIGHT:  Copyright 2007 Colin Finck <mail at colinfinck.de>
+*/
+
+#ifndef _WRC_ROSTYPES_H
+#define _WRC_ROSTYPES_H
+
+#include <typedefs_host.h>
+#include <string.h>
+
+// Definitions copied from various <win....h> files
+// We only want to include host headers, so we define them manually
+#define LOBYTE(w)            ((BYTE)(w))
+#define HIBYTE(w)            ((BYTE)(((WORD)(w)>>8)&0xFF))
+#define LOWORD(l)            ((WORD)((DWORD_PTR)(l)))
+#define HIWORD(l)            ((WORD)(((DWORD_PTR)(l)>>16)&0xFFFF))
+#define MAKELANGID(p,s)      ((((WORD)(s))<<10)|(WORD)(p))
+#define VS_FFI_SIGNATURE     0xFEEF04BD
+#define VS_FFI_STRUCVERSION  0x10000
+#define PRIMARYLANGID(l)     ((WORD)(l)&0x3ff)
+#define SUBLANGID(l)         ((WORD)(l)>>10)
+
+#define BS_3STATE            5
+#define BS_AUTO3STATE        6
+#define BS_AUTOCHECKBOX      3
+#define BS_AUTORADIOBUTTON   9
+#define BS_CHECKBOX          2
+#define CBS_DROPDOWN         2
+#define CBS_DROPDOWNLIST     3
+#define CBS_SIMPLE           1
+#define BS_DEFPUSHBUTTON     1
+#define BS_GROUPBOX          7
+#define BS_PUSHBUTTON        0
+#define BS_RADIOBUTTON       4
+#define DS_SETFONT           64
+#define ES_LEFT              0
+#define LBS_NOTIFY           1
+#define MF_CHECKED           8
+#define MF_GRAYED            1
+#define MF_DISABLED          2
+#define MF_HELP              0x4000
+#define MF_MENUBARBREAK      32
+#define MF_MENUBREAK         64
+#define MF_POPUP             16
+#define MF_END               128
+#define SBS_HORZ             0
+#define SS_CENTER            1
+#define SS_ICON              3
+#define SS_LEFT              0
+#define SS_RIGHT             2
+#define WS_BORDER            0x800000
+#define WS_CAPTION           0xc00000
+#define WS_CHILD             0x40000000
+#define WS_GROUP             0x20000
+#define WS_POPUP             0x80000000
+#define WS_POPUPWINDOW       0x80880000
+#define WS_TABSTOP           0x10000
+#define WS_VISIBLE           0x10000000
+
+#define LANG_AFRIKAANS       0x36
+#define LANG_ALBANIAN        0x1c
+#define LANG_ARABIC          0x01
+#define LANG_ARMENIAN        0x2b
+#define LANG_AZERI           0x2c
+#define LANG_BASQUE          0x2d
+#define LANG_BELARUSIAN      0x23
+#define LANG_BULGARIAN       0x02
+#define LANG_CATALAN         0x03
+#define LANG_CHINESE         0x04
+#define LANG_CROATIAN        0x1a
+#define LANG_CZECH           0x05
+#define LANG_DANISH          0x06
+#define LANG_DIVEHI          0x65
+#define LANG_DUTCH           0x13
+#define LANG_ENGLISH         0x09
+#define LANG_ESTONIAN        0x25
+#define LANG_FAEROESE        0x38
+#define LANG_FARSI           0x29
+#define LANG_FINNISH         0x0b
+#define LANG_FRENCH          0x0c
+#define LANG_GALICIAN        0x56
+#define LANG_GEORGIAN        0x37
+#define LANG_GERMAN          0x07
+#define LANG_GREEK           0x08
+#define LANG_GUJARATI        0x47
+#define LANG_HEBREW          0x0d
+#define LANG_HINDI           0x39
+#define LANG_HUNGARIAN       0x0e
+#define LANG_ICELANDIC       0x0f
+#define LANG_INDONESIAN      0x21
+#define LANG_ITALIAN         0x10
+#define LANG_JAPANESE        0x11
+#define LANG_KANNADA         0x4b
+#define LANG_KAZAK           0x3f
+#define LANG_KONKANI         0x57
+#define LANG_KOREAN          0x12
+#define LANG_KYRGYZ          0x40
+#define LANG_LATVIAN         0x26
+#define LANG_LITHUANIAN      0x27
+#define LANG_MACEDONIAN      0x2f
+#define LANG_MALAY           0x3e
+#define LANG_MARATHI         0x4e
+#define LANG_MONGOLIAN       0x50
+#define LANG_NEUTRAL         0x00
+#define LANG_NORWEGIAN       0x14
+#define LANG_POLISH          0x15
+#define LANG_PORTUGUESE      0x16
+#define LANG_PUNJABI         0x46
+#define LANG_ROMANIAN        0x18
+#define LANG_RUSSIAN         0x19
+#define LANG_SANSKRIT        0x4f
+#define LANG_SERBIAN         0x1a
+#define LANG_SLOVAK          0x1b
+#define LANG_SLOVENIAN       0x24
+#define LANG_SPANISH         0x0a
+#define LANG_SWAHILI         0x41
+#define LANG_SWEDISH         0x1d
+#define LANG_SYRIAC          0x5a
+#define LANG_TAMIL           0x49
+#define LANG_TATAR           0x44
+#define LANG_TELUGU          0x4a
+#define LANG_THAI            0x1e
+#define LANG_TURKISH         0x1f
+#define LANG_UKRAINIAN       0x22
+#define LANG_URDU            0x20
+#define LANG_UZBEK           0x43
+#define LANG_VIETNAMESE      0x2a
+#define SUBLANG_AZERI_CYRILLIC   0x02
+#define SUBLANG_CHINESE_SINGAPORE   0x04
+#define SUBLANG_CHINESE_SIMPLIFIED   0x02
+#define SUBLANG_NEUTRAL      0x00
+#define SUBLANG_SERBIAN_CYRILLIC   0x03
+#define SUBLANG_UZBEK_CYRILLIC   0x02
+
+typedef struct tagBITMAPFILEHEADER {
+   WORD   bfType;
+   DWORD  bfSize;
+   WORD   bfReserved1;
+   WORD   bfReserved2;
+   DWORD  bfOffBits;
+} BITMAPFILEHEADER,*LPBITMAPFILEHEADER,*PBITMAPFILEHEADER;
+
+typedef int FXPT2DOT30;
+typedef struct tagCIEXYZ {
+   FXPT2DOT30 ciexyzX;
+   FXPT2DOT30 ciexyzY;
+   FXPT2DOT30 ciexyzZ;
+} CIEXYZ,*LPCIEXYZ;
+
+typedef struct tagCIEXYZTRIPLE {
+   CIEXYZ ciexyzRed;
+   CIEXYZ ciexyzGreen;
+   CIEXYZ ciexyzBlue;
+} CIEXYZTRIPLE,*LPCIEXYZTRIPLE;
+
+typedef struct tagBITMAPINFOHEADER{
+   DWORD  biSize;
+   LONG   biWidth;
+   LONG   biHeight;
+   WORD   biPlanes;
+   WORD   biBitCount;
+   DWORD  biCompression;
+   DWORD  biSizeImage;
+   LONG   biXPelsPerMeter;
+   LONG   biYPelsPerMeter;
+   DWORD  biClrUsed;
+   DWORD  biClrImportant;
+} BITMAPINFOHEADER,*LPBITMAPINFOHEADER,*PBITMAPINFOHEADER;
+
+typedef struct {
+   DWORD  bV4Size;
+   LONG   bV4Width;
+   LONG   bV4Height;
+   WORD   bV4Planes;
+   WORD   bV4BitCount;
+   DWORD  bV4V4Compression;
+   DWORD  bV4SizeImage;
+   LONG   bV4XPelsPerMeter;
+   LONG   bV4YPelsPerMeter;
+   DWORD  bV4ClrUsed;
+   DWORD  bV4ClrImportant;
+   DWORD  bV4RedMask;
+   DWORD  bV4GreenMask;
+   DWORD  bV4BlueMask;
+   DWORD  bV4AlphaMask;
+   DWORD  bV4CSType;
+   CIEXYZTRIPLE bV4Endpoints;
+   DWORD  bV4GammaRed;
+   DWORD  bV4GammaGreen;
+   DWORD  bV4GammaBlue;
+} BITMAPV4HEADER,*LPBITMAPV4HEADER,*PBITMAPV4HEADER;
+
+#endif

Modified: trunk/reactos/tools/wrc/wrctypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/wrctypes.h?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/wrctypes.h (original)
+++ trunk/reactos/tools/wrc/wrctypes.h Sun Sep  9 01:40:36 2007
@@ -22,17 +22,7 @@
 #define __WRC_WRCTYPES_H
 
 #include <stdarg.h>
-#include <typedefs64.h>
-#include "windef.h"
-#include "winbase.h"
-
-#ifndef MAKELANGID
-#include "winnls.h"
-#endif
-
-#ifndef VS_FFI_SIGNATURE
-#include "winver.h"
-#endif
+#include "wrcrostypes.h"
 
 /* Memory/load flags */
 #define WRC_MO_MOVEABLE		0x0010

Modified: trunk/reactos/tools/wrc/writeres.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wrc/writeres.c?rev=28959&r1=28958&r2=28959&view=diff
==============================================================================
--- trunk/reactos/tools/wrc/writeres.c (original)
+++ trunk/reactos/tools/wrc/writeres.c Sun Sep  9 01:40:36 2007
@@ -20,13 +20,13 @@
 
 #include "config.h"
 
-#include "wrc.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
 #include "wine/unicode.h"
+#include "wrc.h"
 #include "genres.h"
 #include "newstruc.h"
 #include "utils.h"




More information about the Ros-diffs mailing list