From f2296246ea75371f2966ef6cdb5eb9706ca545ea Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 23 Jan 2014 17:49:49 +0000 Subject: [PATCH] [LPK] * Improve header inclusions. CORE-7716 svn path=/trunk/; revision=61774 --- reactos/dll/win32/lpk/dllmain.c | 1 - reactos/dll/win32/lpk/ros_lpk.h | 6 ++---- reactos/dll/win32/lpk/stub.c | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/reactos/dll/win32/lpk/dllmain.c b/reactos/dll/win32/lpk/dllmain.c index 1d5bdc0e781..f54beb950bf 100644 --- a/reactos/dll/win32/lpk/dllmain.c +++ b/reactos/dll/win32/lpk/dllmain.c @@ -45,4 +45,3 @@ LpkDllInitialize ( return TRUE; } - diff --git a/reactos/dll/win32/lpk/ros_lpk.h b/reactos/dll/win32/lpk/ros_lpk.h index a2330f48daa..5535e8042fe 100644 --- a/reactos/dll/win32/lpk/ros_lpk.h +++ b/reactos/dll/win32/lpk/ros_lpk.h @@ -5,13 +5,12 @@ * PROGRAMMER: Magnus Olsen (greatlrd) * */ -#define WIN32_NO_STATUS -#define NTOS_MODE_USER #include + +#define WIN32_NO_STATUS #include #include -#include /* FIXME USP10 api that does not have prototype in any include file */ VOID WINAPI LpkPresent(VOID); @@ -65,4 +64,3 @@ DWORD WINAPI LpkGetTextExtentExPoint(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x DWORD WINAPI LpkPSMTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6); DWORD WINAPI LpkUseGDIWidthCache(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5); DWORD WINAPI ftsWordBreak(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5); - diff --git a/reactos/dll/win32/lpk/stub.c b/reactos/dll/win32/lpk/stub.c index 3df3afee430..37072f05b78 100644 --- a/reactos/dll/win32/lpk/stub.c +++ b/reactos/dll/win32/lpk/stub.c @@ -8,6 +8,8 @@ #include "ros_lpk.h" +#include + #define UNIMPLEMENTED DbgPrint("LPK: %s is unimplemented, please try again later.\n", __FUNCTION__); /*