Alexandre Julliard : rpc.h: Include excpt.h, and windef. h in Wine so that the header compiles.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 19 06:29:38 CST 2007


Module: wine
Branch: master
Commit: 96e8568c881794fc6ef731a1d6b53eee6d131a9a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=96e8568c881794fc6ef731a1d6b53eee6d131a9a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jan 19 13:16:45 2007 +0100

rpc.h: Include excpt.h, and windef.h in Wine so that the header compiles.

---

 include/rpc.h |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/include/rpc.h b/include/rpc.h
index 6ddc484..c52e539 100644
--- a/include/rpc.h
+++ b/include/rpc.h
@@ -18,8 +18,12 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#if !defined(RPC_NO_WINDOWS_H) && !defined(__WINESRC__)
-#include <windows.h>
+#ifndef RPC_NO_WINDOWS_H
+# ifdef __WINESRC__
+#  include <windef.h>
+# else
+#  include <windows.h>
+# endif
 #endif
 
 #ifndef __WINE_RPC_H
@@ -50,6 +54,7 @@ typedef void* I_RPC_HANDLE;
 #include <rpcdce.h>
 /* #include <rpcnsi.h> */
 #include <rpcnterr.h>
+#include <excpt.h>
 #include <winerror.h>
 
 /* ignore exception handling for now */




More information about the wine-cvs mailing list