From 7b7130b9cab3fdbc0ffaa78266f385cc68b3a342 Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Mon, 30 Sep 2002 21:21:38 +0000 Subject: [PATCH] 2002-09-30 Casper S. Hornstrup * lib/user32/misc/desktop.c (string.h): Include. * lib/user32/misc/resources.c: Ditto. * lib/user32/misc/winhelp.c: Ditto. * lib/user32/windows/accel.c: Ditto. * lib/user32/windows/bitmap.c: Ditto. * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not have mingw runtime import _pctype. svn path=/trunk/; revision=3588 --- reactos/ChangeLog | 10 ++++++++++ reactos/lib/user32/misc/desktop.c | 3 ++- reactos/lib/user32/misc/resources.c | 2 +- reactos/lib/user32/misc/winhelp.c | 3 ++- reactos/lib/user32/windows/accel.c | 4 ++-- reactos/lib/user32/windows/bitmap.c | 3 ++- reactos/subsys/win32k/freetype/ctype.c | 5 ++++- 7 files changed, 23 insertions(+), 7 deletions(-) diff --git a/reactos/ChangeLog b/reactos/ChangeLog index 69f68312c2d..5952a326c99 100644 --- a/reactos/ChangeLog +++ b/reactos/ChangeLog @@ -1,3 +1,13 @@ +2002-09-30 Casper S. Hornstrup + + * lib/user32/misc/desktop.c (string.h): Include. + * lib/user32/misc/resources.c: Ditto. + * lib/user32/misc/winhelp.c: Ditto. + * lib/user32/windows/accel.c: Ditto. + * lib/user32/windows/bitmap.c: Ditto. + * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not + have mingw runtime import _pctype. + 2002-09-30 Casper S. Hornstrup * ntoskrnl/cc/view.c (alloca): Prototype. diff --git a/reactos/lib/user32/misc/desktop.c b/reactos/lib/user32/misc/desktop.c index 3a305f4238d..131af2eb44a 100644 --- a/reactos/lib/user32/misc/desktop.c +++ b/reactos/lib/user32/misc/desktop.c @@ -1,4 +1,4 @@ -/* $Id: desktop.c,v 1.8 2002/09/20 21:55:50 jfilby Exp $ +/* $Id: desktop.c,v 1.9 2002/09/30 21:21:38 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -8,6 +8,7 @@ * UPDATE HISTORY: * 06-06-2001 CSH Created */ +#include #include #include #include diff --git a/reactos/lib/user32/misc/resources.c b/reactos/lib/user32/misc/resources.c index 0bfc676e6f5..47e5e54c6c2 100644 --- a/reactos/lib/user32/misc/resources.c +++ b/reactos/lib/user32/misc/resources.c @@ -1,4 +1,4 @@ - +#include #include #include #include diff --git a/reactos/lib/user32/misc/winhelp.c b/reactos/lib/user32/misc/winhelp.c index 6e83a2efab6..ad5b5b8d165 100644 --- a/reactos/lib/user32/misc/winhelp.c +++ b/reactos/lib/user32/misc/winhelp.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: winhelp.c,v 1.2 2002/09/17 23:46:23 dwelch Exp $ +/* $Id: winhelp.c,v 1.3 2002/09/30 21:21:38 chorns Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/misc/winhelp.c @@ -28,6 +28,7 @@ /* INCLUDES ******************************************************************/ +#include #include #include #include diff --git a/reactos/lib/user32/windows/accel.c b/reactos/lib/user32/windows/accel.c index a7192f7f5fd..8b8810d7992 100644 --- a/reactos/lib/user32/windows/accel.c +++ b/reactos/lib/user32/windows/accel.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: accel.c,v 1.4 2002/09/17 23:46:23 dwelch Exp $ +/* $Id: accel.c,v 1.5 2002/09/30 21:21:38 chorns Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -27,7 +27,7 @@ */ /* INCLUDES ******************************************************************/ - +#include #include #include #include diff --git a/reactos/lib/user32/windows/bitmap.c b/reactos/lib/user32/windows/bitmap.c index ab5aaff1caf..b512cf9c76b 100644 --- a/reactos/lib/user32/windows/bitmap.c +++ b/reactos/lib/user32/windows/bitmap.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bitmap.c,v 1.5 2002/09/17 23:46:23 dwelch Exp $ +/* $Id: bitmap.c,v 1.6 2002/09/30 21:21:38 chorns Exp $ * * PROJECT: ReactOS user32.dll * FILE: lib/user32/windows/input.c @@ -28,6 +28,7 @@ /* INCLUDES ******************************************************************/ +#include #include #include #include diff --git a/reactos/subsys/win32k/freetype/ctype.c b/reactos/subsys/win32k/freetype/ctype.c index b9872a181c1..3f754b1b9c7 100644 --- a/reactos/subsys/win32k/freetype/ctype.c +++ b/reactos/subsys/win32k/freetype/ctype.c @@ -1,4 +1,4 @@ -/* $Id: ctype.c,v 1.1 2001/05/02 12:21:26 jfilby Exp $ +/* $Id: ctype.c,v 1.2 2002/09/30 21:21:38 chorns Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -11,9 +11,12 @@ * all functions to use ctype table */ +#undef __MSVCRT__ #include #include +#undef _pctype + #define upalpha ('A' - 'a')