Where ICOM macros are needed, include objbase.h.

This commit is contained in:
Ove Kaaven 2002-12-23 01:33:50 +00:00 committed by Alexandre Julliard
parent e42b3ee4bb
commit 0087da5946
2 changed files with 2 additions and 4 deletions

View File

@ -20,7 +20,7 @@
#define __WINE_DINPUT_H #define __WINE_DINPUT_H
#include "windef.h" /* for MAX_PATH */ #include "windef.h" /* for MAX_PATH */
#include "unknwn.h" #include "objbase.h"
#ifndef DIRECTINPUT_VERSION #ifndef DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION 0x0800 #define DIRECTINPUT_VERSION 0x0800

View File

@ -32,9 +32,7 @@
#error DO NOT INCLUDE DIRECTLY #error DO NOT INCLUDE DIRECTLY
#endif #endif
#define __WINE_INCLUDE_OBJIDL #include "objbase.h"
#include "objidl.h"
#undef __WINE_INCLUDE_OBJIDL
/* the following depend only on obj_base.h */ /* the following depend only on obj_base.h */
#include "wine/obj_oleaut.h" #include "wine/obj_oleaut.h"
#include "wine/obj_errorinfo.h" #include "wine/obj_errorinfo.h"