Where ICOM macros are needed, include objbase.h.
This commit is contained in:
parent
e42b3ee4bb
commit
0087da5946
|
@ -20,7 +20,7 @@
|
|||
#define __WINE_DINPUT_H
|
||||
|
||||
#include "windef.h" /* for MAX_PATH */
|
||||
#include "unknwn.h"
|
||||
#include "objbase.h"
|
||||
|
||||
#ifndef DIRECTINPUT_VERSION
|
||||
#define DIRECTINPUT_VERSION 0x0800
|
||||
|
|
|
@ -32,9 +32,7 @@
|
|||
#error DO NOT INCLUDE DIRECTLY
|
||||
#endif
|
||||
|
||||
#define __WINE_INCLUDE_OBJIDL
|
||||
#include "objidl.h"
|
||||
#undef __WINE_INCLUDE_OBJIDL
|
||||
#include "objbase.h"
|
||||
/* the following depend only on obj_base.h */
|
||||
#include "wine/obj_oleaut.h"
|
||||
#include "wine/obj_errorinfo.h"
|
||||
|
|
Loading…
Reference in New Issue