Commit b1c3a89a authored by Alexandre Julliard's avatar Alexandre Julliard

Moved rpc.h inclusion in widl-generated file so that tests compile.

parent c99c022a
/*** Autogenerated by WIDL 0.1 from ../../include/wtypes.idl - Do not edit ***/
/*** Autogenerated by WIDL 0.1 from wtypes.idl - Do not edit ***/
#include "rpc.h"
#include "rpcndr.h"
#ifndef __WIDL_WTYPES_H
#define __WIDL_WTYPES_H
#include "basetsd.h"
#include "guiddef.h"
#include "rpc.h"
#include "rpcndr.h"
typedef CHAR OLECHAR16;
typedef LPSTR LPOLESTR16;
typedef LPCSTR LPCOLESTR16;
......
......@@ -30,8 +30,6 @@ interface IWinTypes
cpp_quote("#include \"basetsd.h\"")
cpp_quote("#include \"guiddef.h\"")
cpp_quote("#include \"rpc.h\"")
cpp_quote("#include \"rpcndr.h\"")
/* from Wine's pre-WIDL wtypes.h */
/* FIXME: does not belong here */
......
......@@ -209,6 +209,8 @@ int main(int argc,char *argv[])
header = fopen(header_name, "w");
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name);
fprintf(header, "#include \"rpc.h\"\n" );
fprintf(header, "#include \"rpcndr.h\"\n\n" );
fprintf(header, "#ifndef __WIDL_%s\n", header_token);
fprintf(header, "#define __WIDL_%s\n", header_token);
......
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