From b7c9a43ec4da80ad7a4caac734205ebca039bab3 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Sat, 25 Aug 2007 22:12:24 +0000 Subject: [PATCH] More build fixes for Mac OS X by changing the header order (wrc.h, which includes windef.h, which includes winnt.h has to be included before stdlib.h) I know that this is another change in a Wine-shared component, but as long as we don't come to a better solution for these problems, I'll continue doing such small changes for fixing the build. svn path=/trunk/; revision=28566 --- reactos/tools/wrc/readres.c | 2 +- reactos/tools/wrc/translation.c | 2 +- reactos/tools/wrc/writeres.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/tools/wrc/readres.c b/reactos/tools/wrc/readres.c index 4b6405c9a49..f34fef1a416 100644 --- a/reactos/tools/wrc/readres.c +++ b/reactos/tools/wrc/readres.c @@ -20,12 +20,12 @@ #include "config.h" +#include "wrc.h" #include #include #include #include -#include "wrc.h" #include "readres.h" #include "newstruc.h" #include "utils.h" diff --git a/reactos/tools/wrc/translation.c b/reactos/tools/wrc/translation.c index 334c813b9ee..acd4d852c75 100644 --- a/reactos/tools/wrc/translation.c +++ b/reactos/tools/wrc/translation.c @@ -16,11 +16,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include "wrc.h" #include #include #include "dumpres.h" -#include "wrc.h" #define MASTER_LANGUAGE LANG_ENGLISH #define NB_LANG 0x94 diff --git a/reactos/tools/wrc/writeres.c b/reactos/tools/wrc/writeres.c index 6fed70b728f..434065da77b 100644 --- a/reactos/tools/wrc/writeres.c +++ b/reactos/tools/wrc/writeres.c @@ -20,13 +20,13 @@ #include "config.h" +#include "wrc.h" #include #include #include #include #include "wine/unicode.h" -#include "wrc.h" #include "genres.h" #include "newstruc.h" #include "utils.h"