diff --git a/include/docobj.h b/include/docobj.h index 4d820f24698..603825366bd 100644 --- a/include/docobj.h +++ b/include/docobj.h @@ -31,7 +31,9 @@ #include "wingdi.h" #include "winuser.h" #include "ole2.h" -#include "wine/obj_oleaut.h" +#define __WINE_INCLUDE_OAIDL +#include "oaidl.h" +#undef __WINE_INCLUDE_OAIDL /***************************************************************************** * Declare the structures diff --git a/include/ocidl.h b/include/ocidl.h index dc9664ea658..61c112b246b 100644 --- a/include/ocidl.h +++ b/include/ocidl.h @@ -34,7 +34,10 @@ #include "oleidl.h" #undef __WINE_INCLUDE_OLEIDL -#include "wine/obj_oleaut.h" +#define __WINE_INCLUDE_OAIDL +#include "oaidl.h" +#undef __WINE_INCLUDE_OAIDL + #include "wine/obj_olefont.h" #include "wine/obj_picture.h"