From: Zebediah Figura zfigura@codeweavers.com
For IReferenceClock.
Currently we rely on it getting included via the following path:
wmsdk.idl -> wmsdkidl.idl -> drmexternals.idl -> wmdrmsdk.idl -> mfobjects.idl -> mediaobj.idl -> strmif.idl
However, mediaobj.idl should not pull in strmif.idl.
--
In general I think it is also good practice to explicitly include all of the used headers directly in a module, as is done in the Linux kernel. --- dlls/wmvcore/async_reader.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wmvcore/async_reader.c b/dlls/wmvcore/async_reader.c index 95f617b5cf8..3a8556a5f0a 100644 --- a/dlls/wmvcore/async_reader.c +++ b/dlls/wmvcore/async_reader.c @@ -26,6 +26,7 @@
#define EXTERN_GUID DEFINE_GUID #include "initguid.h" +#include "strmif.h" #include "wmvcore_private.h"
#include "wmsdk.h"