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

Francois Gouget fgouget at free.fr
Thu Dec 15 13:20:22 CST 2011


---
 include/rpcasync.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/include/rpcasync.h b/include/rpcasync.h
index d4bf4f8..f0bcb6d 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 <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
-- 
1.7.7.3




More information about the wine-patches mailing list