Commit 75c2184f authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Include objbase.h so that generated proxy file compiles on Wine.

parent 96e8568c
......@@ -709,6 +709,7 @@ static void parse_generated_idl( INCL_FILE *source )
}
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 );
}
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment