From b831594b501876105f88fa5dab85242737fd3594 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 15 Dec 2011 20:20:22 +0100 Subject: [PATCH] include: Include windef.h and packing directives in rpcasync.h when needed. --- include/rpcasync.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/rpcasync.h b/include/rpcasync.h index d4bf4f8225c..f0bcb6d0b3d 100644 --- a/include/rpcasync.h +++ b/include/rpcasync.h @@ -18,6 +18,13 @@ #ifndef __WINE_RPCASYNC_H #define __WINE_RPCASYNC_H +#ifdef RPC_NO_WINDOWS_H +# include +#endif + +#ifdef __RPC_WIN64__ +# include +#endif typedef struct tagRPC_ERROR_ENUM_HANDLE { @@ -154,6 +161,10 @@ typedef struct _RPC_ASYNC_STATE #define RpcAsyncGetCallHandle(async) (((PRPC_ASYNC_STATE)async)->RuntimeInfo) +#ifdef __RPC_WIN64__ +# include +#endif + #ifdef __cplusplus extern "C" { #endif