[2/6] winhttp: Allow winhttp to use wininet.h with winhttp.h

James Hawkins truiken at gmail.com
Thu Jul 17 22:45:15 CDT 2008

On Thu, Jul 17, 2008 at 7:37 PM, Zac Brown <zac at zacbrown.org> wrote:
> Setup winhttp.h and wininet.h with type guards to allow for use of wininet.h
> in winhttp implementation.
> --snip--
> Note: I am unsure of whether its better to do this, or finish up winhttp.h
> and then create a private header in dlls/winhttp for winhttp to use.

diff --git a/dlls/winhttp/Makefile.in b/dlls/winhttp/Makefile.in
index e69b137..7e8146f 100644
--- a/dlls/winhttp/Makefile.in
+++ b/dlls/winhttp/Makefile.in
@@ -4,7 +4,7 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = winhttp.dll
 IMPORTLIB = winhttp
-IMPORTS   = kernel32
+IMPORTS   = wininet kernel32

 C_SRCS	  = main.c

I thought the idea was to implement winhttp and then implement wininet
on top of winhttp.  Why are you importing wininet?

James Hawkins

More information about the wine-devel mailing list