[WLANSVC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 12:59:02 +0000 (12:59 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 13 Jan 2014 12:59:02 +0000 (12:59 +0000)
* Create a main header and move some inclusions to it.
* Improve the header inclusions.
CORE-7716

svn path=/trunk/; revision=61608

reactos/base/services/wlansvc/precomp.h [new file with mode: 0644]
reactos/base/services/wlansvc/rpcserver.c
reactos/base/services/wlansvc/wlansvc.c

diff --git a/reactos/base/services/wlansvc/precomp.h b/reactos/base/services/wlansvc/precomp.h
new file mode 100644 (file)
index 0000000..dc7fc8f
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef _WLANSVC_PCH_
+#define _WLANSVC_PCH_
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <winsvc.h>
+#include <wlansvc_s.h>
+
+#endif /* _WLANSVC_PCH_ */
index 5c4ab54..844fafe 100644 (file)
@@ -6,9 +6,7 @@
  * COPYRIGHT:   Copyright 2009 Christoph von Wittich
  */
 
-/* INCLUDES ****************************************************************/
-
-#include <wlansvc_s.h>
+#include "precomp.h"
 
 #define NDEBUG
 #include <debug.h>
index 845991c..77e1283 100644 (file)
@@ -8,7 +8,7 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <wlansvc_s.h>
+#include "precomp.h"
 
 //#define NDEBUG
 #include <debug.h>