https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0c64ffd3ab82e1980313a9a7cee3ab41595897bf

commit 0c64ffd3ab82e1980313a9a7cee3ab41595897bf
Author:     Amine Khaldi <[email protected]>
AuthorDate: Sat Oct 26 23:11:08 2019 +0100
Commit:     Amine Khaldi <[email protected]>
CommitDate: Sat Oct 26 23:11:08 2019 +0100

    [COMDLG32] Improve some header inclusions.
---
 dll/win32/comdlg32/filedlg.c | 3 +++
 dll/win32/comdlg32/precomp.h | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dll/win32/comdlg32/filedlg.c b/dll/win32/comdlg32/filedlg.c
index d82cdf3daf6..1c05df91c22 100644
--- a/dll/win32/comdlg32/filedlg.c
+++ b/dll/win32/comdlg32/filedlg.c
@@ -77,6 +77,9 @@
 
 #include "wine/debug.h"
 #include "wine/heap.h"
+#ifdef __REACTOS__
+#include "wine/unicode.h"
+#endif
 
 WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
 
diff --git a/dll/win32/comdlg32/precomp.h b/dll/win32/comdlg32/precomp.h
index c108058ff17..819aa101548 100644
--- a/dll/win32/comdlg32/precomp.h
+++ b/dll/win32/comdlg32/precomp.h
@@ -2,8 +2,6 @@
 #ifndef _WINE_COMDLG32_PRECOMP_H
 #define _WINE_COMDLG32_PRECOMP_H
 
-#include <wine/config.h>
-
 #include <stdio.h>
 
 #define WIN32_NO_STATUS
@@ -33,7 +31,6 @@
 #include <shlwapi.h>
 
 #include <wine/heap.h>
-#include <wine/unicode.h>
 #include <wine/debug.h>
 
 #include "cdlg.h"

Reply via email to