Module: wine Branch: master Commit: 75c2184f87c015aa326b31cf24e9e7b6dd2b8764 URL: http://source.winehq.org/git/wine.git/?a=commit;h=75c2184f87c015aa326b31cf24...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Jan 19 13:17:17 2007 +0100
widl: Include objbase.h so that generated proxy file compiles on Wine.
---
tools/makedep.c | 1 + tools/widl/proxy.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/makedep.c b/tools/makedep.c index 1d070b2..a983e4b 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -709,6 +709,7 @@ static void parse_generated_idl( INCL_FI } else if (strendswith( source->name, "_p.c" )) { + add_include( source, "objbase.h", 0, 1 ); add_include( source, "rpcproxy.h", 0, 1 ); add_include( source, header, 0, 0 ); } diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index 329d0b8..2a4dff1 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -94,6 +94,7 @@ static void init_proxy(ifref_t *ifaces) print_proxy( "#define __REQUIRED_RPCPROXY_H_VERSION__ 440\n"); print_proxy( "#endif /* __REDQ_RPCPROXY_H_VERSION__ */\n"); print_proxy( "\n"); + print_proxy( "#include "objbase.h"\n"); print_proxy( "#include "rpcproxy.h"\n"); print_proxy( "#ifndef __RPCPROXY_H_VERSION__\n"); print_proxy( "#error This code needs a newer version of rpcproxy.h\n");