diff --git a/reactos/dll/win32/netcfgx/CMakeLists.txt b/reactos/dll/win32/netcfgx/CMakeLists.txt index fb2e955a563..835c3c36734 100644 --- a/reactos/dll/win32/netcfgx/CMakeLists.txt +++ b/reactos/dll/win32/netcfgx/CMakeLists.txt @@ -23,5 +23,5 @@ target_link_libraries(netcfgx wine) add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll) - +add_pch(netcfgx precomp.h) add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all) diff --git a/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c b/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c index b4a3ad5bcf3..7d08afe7fcf 100644 --- a/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c +++ b/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c @@ -1,5 +1,4 @@ #include "precomp.h" -#include typedef struct { diff --git a/reactos/dll/win32/netcfgx/netcfg_iface.c b/reactos/dll/win32/netcfgx/netcfg_iface.c index 5dc52ec2d5c..7f566e458bd 100644 --- a/reactos/dll/win32/netcfgx/netcfg_iface.c +++ b/reactos/dll/win32/netcfgx/netcfg_iface.c @@ -1,5 +1,4 @@ #include "precomp.h" -#include typedef struct { diff --git a/reactos/dll/win32/netcfgx/netcfgx.c b/reactos/dll/win32/netcfgx/netcfgx.c index eb59418ba88..f04f6ef690c 100644 --- a/reactos/dll/win32/netcfgx/netcfgx.c +++ b/reactos/dll/win32/netcfgx/netcfgx.c @@ -7,19 +7,14 @@ * PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org) */ - #include "precomp.h" -#include -#include + #define NDEBUG #include HINSTANCE netcfgx_hInstance; const GUID CLSID_TcpipConfigNotifyObject = {0xA907657F, 0x6FDF, 0x11D0, {0x8E, 0xFB, 0x00, 0xC0, 0x4F, 0xD9, 0x12, 0xB2}}; - - - static INTERFACE_TABLE InterfaceTable[] = { { diff --git a/reactos/dll/win32/netcfgx/netcfgx.rbuild b/reactos/dll/win32/netcfgx/netcfgx.rbuild index 1ff2adb7838..2d220ae2e62 100644 --- a/reactos/dll/win32/netcfgx/netcfgx.rbuild +++ b/reactos/dll/win32/netcfgx/netcfgx.rbuild @@ -20,4 +20,5 @@ inetcfgcomp_iface.c tcpipconf_notify.c netcfgx.rc + precomp.h diff --git a/reactos/dll/win32/netcfgx/precomp.h b/reactos/dll/win32/netcfgx/precomp.h index 6215e39f4a8..6a6640c98f4 100644 --- a/reactos/dll/win32/netcfgx/precomp.h +++ b/reactos/dll/win32/netcfgx/precomp.h @@ -18,6 +18,9 @@ #include "resource.h" #include +#include +#include + typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject); typedef struct { REFIID riid;