Author: akhaldi
Date: Sat Jan 4 10:29:54 2014
New Revision: 61519
URL:
http://svn.reactos.org/svn/reactos?rev=61519&view=rev
Log:
[BASESRV]
* Remove one time inclusions from the main header and put them back where they belong.
* Include what we need from the NDK instead of the whole set.
CORE-7716
Modified:
trunk/reactos/subsystems/win/basesrv/basesrv.h
trunk/reactos/subsystems/win/basesrv/init.c
trunk/reactos/subsystems/win/basesrv/nls.c
Modified: trunk/reactos/subsystems/win/basesrv/basesrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/bas…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/basesrv.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/basesrv.h [iso-8859-1] Sat Jan 4 10:29:54 2014
@@ -9,18 +9,19 @@
#ifndef __BASESRV_H__
#define __BASESRV_H__
-#pragma once
-
/* PSDK/NDK Headers */
-#include <stdarg.h>
+#include <stdio.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/exfuncs.h>
+#include <ndk/umfuncs.h>
/* PSEH for SEH Support */
#include <pseh/pseh2.h>
@@ -63,6 +64,4 @@
extern HANDLE BaseSrvSharedHeap;
extern PBASE_STATIC_SERVER_DATA BaseStaticServerData;
-#endif // __BASESRV_H__
-
-/* EOF */
+#endif /* __BASESRV_H__ */
Modified: trunk/reactos/subsystems/win/basesrv/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/ini…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/init.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/init.c [iso-8859-1] Sat Jan 4 10:29:54 2014
@@ -9,10 +9,13 @@
/* INCLUDES *******************************************************************/
#include "basesrv.h"
-#include "api.h"
+
+#include <winreg.h>
#define NDEBUG
#include <debug.h>
+
+#include "api.h"
/* GLOBALS ********************************************************************/
Modified: trunk/reactos/subsystems/win/basesrv/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/nls…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] Sat Jan 4 10:29:54 2014
@@ -9,6 +9,8 @@
/* INCLUDES *******************************************************************/
#include "basesrv.h"
+
+#include <ndk/mmfuncs.h>
#define NDEBUG
#include <debug.h>