Francois Gouget : include: Include windef. h and packing directives in rpcasync.h when needed.
Alexandre Julliard
julliard at winehq.org
Fri Dec 16 11:22:52 CST 2011
Module: wine
Branch: master
Commit: b831594b501876105f88fa5dab85242737fd3594
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b831594b501876105f88fa5dab85242737fd3594
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Dec 15 20:20:22 2011 +0100
include: Include windef.h and packing directives in rpcasync.h when needed.
---
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
More information about the wine-cvs
mailing list