widl: Include objbase.h so that generated proxy file compiles on Wine.
This commit is contained in:
parent
96e8568c88
commit
75c2184f87
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue