rpc: (resend) Add missing headers

Roy Shea roy at cs.hmc.edu
Tue Oct 23 19:43:09 CDT 2007


Hello,

Attached is a corrected version of this patch.  I thank Mikolaj who
brought to my attention the fact that rpcproxy.h is the incorrect
location to include the files I added in the earlier patch.

This revised patch adds the includes directly to rpc.h.  The Windows
version of rpc.h accesses these includes throuh windows.h.

Peace,
-Roy

On Tue, Oct 23, 2007 at 09:50:25AM -0700, Roy Shea wrote:
> Howdy,
> 
> The REGISTER_PROXY_DLL_ROUTINES macro defined in rpcproxy.h calls
> DisableThreadLibraryCalls.  This patch adds two header files needed
> for calls to DisableThreadLibraryCalls.
> 
> Peace,
> -Roy
> 

-------------- next part --------------
 include/rpc.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/rpc.h b/include/rpc.h
index c52e539..60bf4fe 100644
--- a/include/rpc.h
+++ b/include/rpc.h
@@ -20,7 +20,11 @@
 
 #ifndef RPC_NO_WINDOWS_H
 # ifdef __WINESRC__
+#  ifndef RC_INVOKED
+#   include <stdarg.h>
+#  endif
 #  include <windef.h>
+#  include <winbase.h>
 # else
 #  include <windows.h>
 # endif


More information about the wine-devel mailing list