[SERVMAN] Sort out header inclusions.
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 2 Nov 2016 18:55:51 +0000 (18:55 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 2 Nov 2016 18:55:51 +0000 (18:55 +0000)
svn path=/trunk/; revision=73098

reactos/base/applications/mscutils/servman/export.c
reactos/base/applications/mscutils/servman/precomp.h
reactos/base/applications/mscutils/servman/progress.c

index cfbfd7e..53bf863 100644 (file)
@@ -9,8 +9,7 @@
 
 #include "precomp.h"
 
-//#include <commdlg.h>
-//#include <cderr.h>
+#include <cderr.h>
 
 static DWORD
 GetTextFromListView(PMAIN_WND_INFO Info,
index af527f3..a4cf555 100644 (file)
@@ -1,9 +1,6 @@
 #ifndef __SERVMAN_PRECOMP_H
 #define __SERVMAN_PRECOMP_H
 
-#if 0
-#include <stdarg.h>
-
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 #include <winsvc.h>
 #include <wincon.h>
 #include <shlobj.h>
+#include <commdlg.h>
 #include <strsafe.h>
-#else
-#include <windows.h>
-#include <commctrl.h>
-#include <process.h>
-#include <strsafe.h>
-#endif
+
 #include "resource.h"
 
 #ifdef _MSC_VER
index b60f4f9..239c598 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "precomp.h"
 
+#include <process.h>
+
 #define PROGRESS_RANGE      20
 #define PROGRESS_STEP_MAX   15