[RPCSS]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 12:47:43 +0000 (12:47 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 12:47:43 +0000 (12:47 +0000)
* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header.
* Remove one time winsvc.h inclusion from the main header and put them back where it belongs.
CORE-7716

svn path=/trunk/; revision=61605

reactos/base/services/rpcss/epmp.c
reactos/base/services/rpcss/irotp.c
reactos/base/services/rpcss/rpcss.h
reactos/base/services/rpcss/rpcss_main.c
reactos/base/services/rpcss/service_main.c

index aef5fde..5776cf6 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include <epm_s.h>
+#include "rpcss.h"
 
 #include <wine/debug.h>
-#include <wine/list.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
index 368dea6..bf9c569 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include <irot_s.h>
-#include <wine/list.h>
+#include "rpcss.h"
+
 #include <wine/debug.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(rpcss);
index 67bbc52..347a5cf 100644 (file)
 #define __WINE_RPCSS_H
 
 #include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
 #include <windef.h>
 #include <winbase.h>
-#include <winsvc.h>
 
+#include <irot_s.h>
+#include <epm_s.h>
+
+#include <wine/list.h>
 
 #endif /* __WINE_RPCSS_H */
index f225502..de2a997 100644 (file)
  *     role of rpcss.exe in wine.
  */
 
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
 #include "rpcss.h"
-#include <irot_s.h>
-#include <epm_s.h>
 
 #include <wine/debug.h>
 
index 501e2a4..fbff5f6 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "rpcss.h"
 
+#include <winsvc.h>
+
 #define NDEBUG
 #include <debug.h>