[BASESRV]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 4 Jan 2014 10:29:54 +0000 (10:29 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 4 Jan 2014 10:29:54 +0000 (10:29 +0000)
* 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

svn path=/trunk/; revision=61519

reactos/subsystems/win/basesrv/basesrv.h
reactos/subsystems/win/basesrv/init.c
reactos/subsystems/win/basesrv/nls.c

index 4a1b5dc..66e4efc 100644 (file)
@@ -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 BaseSrvHeap;
 extern HANDLE BaseSrvSharedHeap;
 extern PBASE_STATIC_SERVER_DATA BaseStaticServerData;
 
-#endif // __BASESRV_H__
-
-/* EOF */
+#endif /* __BASESRV_H__ */
index b08d6bc..49e9485 100644 (file)
@@ -9,11 +9,14 @@
 /* INCLUDES *******************************************************************/
 
 #include "basesrv.h"
-#include "api.h"
+
+#include <winreg.h>
 
 #define NDEBUG
 #include <debug.h>
 
+#include "api.h"
+
 /* GLOBALS ********************************************************************/
 
 HANDLE BaseSrvDllInstance = NULL;
index 4a40d21..26de88c 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "basesrv.h"
 
+#include <ndk/mmfuncs.h>
+
 #define NDEBUG
 #include <debug.h>