oleidl: Add missing dependency on winuser.h

John Klehm xixsimplicityxix at gmail.com
Fri Aug 24 02:55:25 CDT 2007


You cannot include ole2.h without including winuser.h before it
because ole2 requires the MSG struct.  This patch reflects that
dependency.

-John Klehm
-------------- next part --------------
From deba28a4e50ffb07e2d7d36f7ee0e7d6e99d5862 Mon Sep 17 00:00:00 2001
From: John Klehm <xixsimplicityxix at gmail.com>
Date: Thu, 23 Aug 2007 20:56:42 -0500
Subject: oleidl: Add missing dependency on winuser

---
 include/oleidl.idl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/oleidl.idl b/include/oleidl.idl
index 169d83b..2f4c31e 100644
--- a/include/oleidl.idl
+++ b/include/oleidl.idl
@@ -19,6 +19,7 @@
  */
 
 #ifndef DO_NO_IMPORTS
+cpp_quote("#include <winuser.h> /* for MSG, LPMSG */");
 import "objidl.idl";
 #endif
 
-- 
1.5.1.6



More information about the wine-patches mailing list