When compiling src/ao_wmm.c, I get this error from the Windows-SDK header <ksmedia.h>:
f:\ProgramFiler-x86\WindowsKits\Include\10.0.19041.0\shared\ksmedia.h(18,2): error: KS.H must be included before
KSMEDIA.H
#error KS.H must be included before KSMEDIA.H
^
and a bunch or errors on unknown types like KSPROPERTY etc.
When compiling
src/ao_wmm.c
, I get this error from the Windows-SDK header<ksmedia.h>
:and a bunch or errors on unknown types like
KSPROPERTY
etc.The easy fix was simply: