Index: dll/win32/wininet/CMakeLists.txt
===================================================================
--- dll/win32/wininet/CMakeLists.txt (revision 54341)
+++ dll/win32/wininet/CMakeLists.txt (working copy)
@@ -5,6 +5,7 @@
-Dclose=_close)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
spec2def(wininet.dll wininet.spec)
@@ -29,7 +30,7 @@
add_library(wininet SHARED ${SOURCE})
set_module_type(wininet win32dll)
-target_link_libraries(wininet wine ${PSEH_LIB})
+target_link_libraries(wininet wine ${PSEH_LIB} zlib)
add_delay_importlibs(wininet secur32 crypt32)
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 msvcrt kernel32 ntdll)
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
Index: dll/win32/wininet/wininet.rbuild
===================================================================
--- dll/win32/wininet/wininet.rbuild (revision 54341)
+++ dll/win32/wininet/wininet.rbuild (working copy)
@@ -6,6 +6,7 @@
.
include/reactos/wine
+ .
@@ -22,6 +23,7 @@
secur32
crypt32
ws2_32
+ zlib
pseh
cookie.c
dialogs.c
Index: include/reactos/wine/config.h
===================================================================
--- include/reactos/wine/config.h (revision 54341)
+++ include/reactos/wine/config.h (working copy)
@@ -1135,10 +1135,10 @@
/* #undef HAVE_XRENDERSETPICTURETRANSFORM */
/* Define to 1 if you have the `z' library (-lz). */
-/* #define HAVE_ZLIB 1 */
+#define HAVE_ZLIB 1
/* Define to 1 if you have the header file. */
-/* #define HAVE_ZLIB_H 1 */
+#define HAVE_ZLIB_H 1
/* Define to 1 if you have the `_pclose' function. */
#define HAVE__PCLOSE 1