From b7279badfa1583d9bb82bd951b0b621846cc38ea Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Wed, 19 Apr 2017 20:47:22 +0100 Subject: [PATCH] include: Avoid redefining WSDXML typedefs. Signed-off-by: Owen Rudge Signed-off-by: Alexandre Julliard --- include/wsdxml.idl | 9 +-------- include/wsdxmldom.h | 3 +++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/include/wsdxml.idl b/include/wsdxml.idl index 0a63ffb48f2..e86d54b695d 100644 --- a/include/wsdxml.idl +++ b/include/wsdxml.idl @@ -18,14 +18,7 @@ import "oaidl.idl"; import "ocidl.idl"; - -typedef struct _WSDXML_NAMESPACE WSDXML_NAMESPACE; -typedef struct _WSDXML_NAME WSDXML_NAME; -typedef struct _WSDXML_TYPE WSDXML_TYPE; -typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT; - -typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE; -typedef const WSDXML_TYPE *PCWSDXML_TYPE; +import "wsdxmldom.h"; interface IWSDXMLContext; diff --git a/include/wsdxmldom.h b/include/wsdxmldom.h index 59e481c3dd4..e9fb3bd06c7 100644 --- a/include/wsdxmldom.h +++ b/include/wsdxmldom.h @@ -27,6 +27,9 @@ typedef struct _WSDXML_ATTRIBUTE WSDXML_ATTRIBUTE; typedef struct _WSDXML_NODE WSDXML_NODE; typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT; +typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE; +typedef const WSDXML_TYPE *PCWSDXML_TYPE; + struct _WSDXML_TYPE { const WCHAR *Uri;