Rob Shearman : rpcrt4: ndr_stubless.h should include ndrtypes. h as it depends on types it defines.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 16:25:00 CST 2008


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Jan  7 15:20:05 2008 +0000

rpcrt4: ndr_stubless.h should include ndrtypes.h as it depends on types it defines.

---

 dlls/rpcrt4/ndr_stubless.c |    1 -
 dlls/rpcrt4/ndr_stubless.h |    2 ++
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index c21b809..5c90aa0 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -37,7 +37,6 @@
 #include "objbase.h"
 #include "rpc.h"
 #include "rpcproxy.h"
-#include "ndrtypes.h"
 
 #include "wine/debug.h"
 #include "wine/rpcfc.h"
diff --git a/dlls/rpcrt4/ndr_stubless.h b/dlls/rpcrt4/ndr_stubless.h
index 1bd3a95..02850d1 100644
--- a/dlls/rpcrt4/ndr_stubless.h
+++ b/dlls/rpcrt4/ndr_stubless.h
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include "ndrtypes.h"
+
 /* there can't be any alignment with the structures in this file */
 #include "pshpack1.h"
 




More information about the wine-cvs mailing list