From 8bab7189cbedf641582d4b7a4da70587ece325fa Mon Sep 17 00:00:00 2001 From: Gunnar Dalsnes Date: Wed, 16 Feb 2005 23:08:04 +0000 Subject: [PATCH] hack into private crt headers svn path=/trunk/; revision=13611 --- reactos/lib/crtdll/dllmain.c | 7 ++++--- reactos/lib/crtdll/makefile | 2 +- reactos/lib/msvcrt/Makefile | 2 +- reactos/lib/msvcrt/dllmain.c | 7 ++++--- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/reactos/lib/crtdll/dllmain.c b/reactos/lib/crtdll/dllmain.c index 0b38ee09de4..c07ee2d3b43 100644 --- a/reactos/lib/crtdll/dllmain.c +++ b/reactos/lib/crtdll/dllmain.c @@ -21,13 +21,14 @@ */ #include "precomp.h" -#include +#include +#include #include -#include +#include #include #define NDEBUG -#include +#include /* EXTERNAL PROTOTYPES ********************************************************/ diff --git a/reactos/lib/crtdll/makefile b/reactos/lib/crtdll/makefile index 1145c2aba1a..010fd94b413 100644 --- a/reactos/lib/crtdll/makefile +++ b/reactos/lib/crtdll/makefile @@ -21,7 +21,7 @@ TARGET_SDKLIBS = crt.a string.a kernel32.a ntdll.a wine.a TARGET_GCCLIBS = gcc -TARGET_CFLAGS = -D__USE_W32API -Wall -Werror +TARGET_CFLAGS = -D__USE_W32API -Wall -Werror -I../crt/include # require os code to explicitly request A/W version of structs/functions TARGET_CFLAGS += \ diff --git a/reactos/lib/msvcrt/Makefile b/reactos/lib/msvcrt/Makefile index 86fed1639d3..89bc127525e 100644 --- a/reactos/lib/msvcrt/Makefile +++ b/reactos/lib/msvcrt/Makefile @@ -21,7 +21,7 @@ TARGET_SDKLIBS = crt.a string.a kernel32.a ntdll.a wine.a TARGET_GCCLIBS = gcc -TARGET_CFLAGS = -D__USE_W32API -D_MSVCRT_LIB_ -Wall -Werror +TARGET_CFLAGS = -D__USE_W32API -D_MSVCRT_LIB_ -Wall -Werror -I../crt/include # require os code to explicitly request A/W version of structs/functions TARGET_CFLAGS += \ diff --git a/reactos/lib/msvcrt/dllmain.c b/reactos/lib/msvcrt/dllmain.c index 5c32a1fdbc4..7c3c1c551ea 100644 --- a/reactos/lib/msvcrt/dllmain.c +++ b/reactos/lib/msvcrt/dllmain.c @@ -21,12 +21,13 @@ */ #include "precomp.h" -#include +#include +#include #include -#include +#include #define NDEBUG -#include +#include /* EXTERNAL PROTOTYPES ********************************************************/