https://bugs.winehq.org/show_bug.cgi?id=45435
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Thanks.
This is an extract from a my Makefile (fresh Fedora 28). Here you can see that the EXTRAINCL are included in the command line (-I/usr/include/ffmpeg ). Where as yours doesn't (cause of the compile error).
compat.o: compat.c $(CC) -c -o $@ compat.c -I. -I../../include -I/usr/include/ffmpeg -D__WINESRC__ -DXAUDIO2_VER=7 \ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \ -gstrict-dwarf $(CFLAGS)
in the wine.git directory try running make depend
Does this change the Makefile?