diff --git a/reactos/dll/cpl/intl/CMakeLists.txt b/reactos/dll/cpl/intl/CMakeLists.txt index a1f1aa5ab29..7af2bd2f7f0 100644 --- a/reactos/dll/cpl/intl/CMakeLists.txt +++ b/reactos/dll/cpl/intl/CMakeLists.txt @@ -30,4 +30,5 @@ add_importlibs(intl shell32 kernel32) +add_pch(intl intl.h) add_cd_file(TARGET intl DESTINATION reactos/system32 FOR all) diff --git a/reactos/dll/cpl/intl/advanced.c b/reactos/dll/cpl/intl/advanced.c index 2196e762552..22c5a11bfc4 100644 --- a/reactos/dll/cpl/intl/advanced.c +++ b/reactos/dll/cpl/intl/advanced.c @@ -1,13 +1,5 @@ -#include -#include -#include -#include -#include -#include -#include #include "intl.h" -#include "resource.h" typedef struct CPStruct { diff --git a/reactos/dll/cpl/intl/currency.c b/reactos/dll/cpl/intl/currency.c index b355640a6da..74df951da19 100644 --- a/reactos/dll/cpl/intl/currency.c +++ b/reactos/dll/cpl/intl/currency.c @@ -24,13 +24,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" #define POSITIVE_EXAMPLE _T("123456789.00") #define NEGATIVE_EXAMPLE _T("-123456789.00") diff --git a/reactos/dll/cpl/intl/date.c b/reactos/dll/cpl/intl/date.c index b92d4c2d66b..ff7468f870a 100644 --- a/reactos/dll/cpl/intl/date.c +++ b/reactos/dll/cpl/intl/date.c @@ -24,13 +24,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" /* GLOBALS ******************************************************************/ diff --git a/reactos/dll/cpl/intl/generalp.c b/reactos/dll/cpl/intl/generalp.c index f1e93241449..9cbe5d032b1 100644 --- a/reactos/dll/cpl/intl/generalp.c +++ b/reactos/dll/cpl/intl/generalp.c @@ -26,13 +26,7 @@ * Aleksey Bragin */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" #define SAMPLE_NUMBER _T("123456789") #define NO_FLAG 0 diff --git a/reactos/dll/cpl/intl/inplocale.c b/reactos/dll/cpl/intl/inplocale.c index e80e1f996ed..785cf902aaa 100644 --- a/reactos/dll/cpl/intl/inplocale.c +++ b/reactos/dll/cpl/intl/inplocale.c @@ -24,14 +24,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" - /* Property page dialog callback */ INT_PTR CALLBACK diff --git a/reactos/dll/cpl/intl/intl.c b/reactos/dll/cpl/intl/intl.c index 1f084950e8a..d3dc375a306 100644 --- a/reactos/dll/cpl/intl/intl.c +++ b/reactos/dll/cpl/intl/intl.c @@ -23,15 +23,8 @@ * PURPOSE: Property sheet code * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include -#include #include "intl.h" -#include "resource.h" - #define NUM_APPLETS (1) diff --git a/reactos/dll/cpl/intl/intl.h b/reactos/dll/cpl/intl/intl.h index 12de475dc5e..20dbbba4ff1 100644 --- a/reactos/dll/cpl/intl/intl.h +++ b/reactos/dll/cpl/intl/intl.h @@ -1,6 +1,14 @@ -#pragma once - +#include #include +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" #define DECIMAL_RADIX 10 diff --git a/reactos/dll/cpl/intl/intl.rbuild b/reactos/dll/cpl/intl/intl.rbuild index 631c8958de7..49f6c687234 100644 --- a/reactos/dll/cpl/intl/intl.rbuild +++ b/reactos/dll/cpl/intl/intl.rbuild @@ -21,4 +21,5 @@ advanced.c sort.c intl.rc + intl.h diff --git a/reactos/dll/cpl/intl/kblayouts.c b/reactos/dll/cpl/intl/kblayouts.c index 34335b96e6d..d1a8f982ab5 100644 --- a/reactos/dll/cpl/intl/kblayouts.c +++ b/reactos/dll/cpl/intl/kblayouts.c @@ -5,13 +5,7 @@ * PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org) */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" /* Character Count of a layout ID like "00000409" */ #define CCH_LAYOUT_ID 8 diff --git a/reactos/dll/cpl/intl/languages.c b/reactos/dll/cpl/intl/languages.c index 17dba22f605..1ae36d94870 100644 --- a/reactos/dll/cpl/intl/languages.c +++ b/reactos/dll/cpl/intl/languages.c @@ -1,10 +1,5 @@ -#include -#include -#include -#include #include "intl.h" -#include "resource.h" /* Property page dialog callback */ INT_PTR CALLBACK diff --git a/reactos/dll/cpl/intl/misc.c b/reactos/dll/cpl/intl/misc.c index 7a9be0e3e3d..bd5d5dec7c8 100644 --- a/reactos/dll/cpl/intl/misc.c +++ b/reactos/dll/cpl/intl/misc.c @@ -1,10 +1,5 @@ -#include -#include -#include -#include #include "intl.h" -#include "resource.h" #define NUM_SHEETS 4 diff --git a/reactos/dll/cpl/intl/numbers.c b/reactos/dll/cpl/intl/numbers.c index 75f609bda1d..3169879fae8 100644 --- a/reactos/dll/cpl/intl/numbers.c +++ b/reactos/dll/cpl/intl/numbers.c @@ -24,13 +24,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" #define SAMPLE_NUMBER _T("123456789") #define SAMPLE_NEG_NUMBER _T("-123456789") diff --git a/reactos/dll/cpl/intl/setupreg.c b/reactos/dll/cpl/intl/setupreg.c index ae85e94c948..b9c464b2b6a 100644 --- a/reactos/dll/cpl/intl/setupreg.c +++ b/reactos/dll/cpl/intl/setupreg.c @@ -8,13 +8,7 @@ /* INCLUDES *****************************************************************/ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" /* GLOBALS ******************************************************************/ diff --git a/reactos/dll/cpl/intl/sort.c b/reactos/dll/cpl/intl/sort.c index aec36951105..dc99a40fe7a 100644 --- a/reactos/dll/cpl/intl/sort.c +++ b/reactos/dll/cpl/intl/sort.c @@ -6,13 +6,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" static BOOL bSortPage = FALSE; static LCID userLcid; diff --git a/reactos/dll/cpl/intl/time.c b/reactos/dll/cpl/intl/time.c index ca21d692991..7156363813c 100644 --- a/reactos/dll/cpl/intl/time.c +++ b/reactos/dll/cpl/intl/time.c @@ -23,14 +23,7 @@ * PROGRAMMER: Eric Kohl */ -#include -#include -#include -#include -#include - #include "intl.h" -#include "resource.h" static HWND hwndEnum = NULL;