include: Include windef.h and packing directives in rpcasync.h when needed.

This commit is contained in:
Francois Gouget 2011-12-15 20:20:22 +01:00 committed by Alexandre Julliard
parent 4ed257665c
commit b831594b50
1 changed files with 11 additions and 0 deletions

View File

@ -18,6 +18,13 @@
#ifndef __WINE_RPCASYNC_H
#define __WINE_RPCASYNC_H
#ifdef RPC_NO_WINDOWS_H
# include <windef.h>
#endif
#ifdef __RPC_WIN64__
# include <pshpack8.h>
#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 <poppack.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif