[flac-dev] [PATCH] add #includes

lvqcl lvqcl.mail at gmail.com
Sat Jan 23 03:50:15 PST 2016


/share/compat.h includes win_utf8_io.h which in turn includes
windows.h. But only flac/decode.c and share/grabbag/file.c
need it. It was suggested earlier to guard this include by
some #ifdef. I tried it, and it brokes compilation of some files
because of missing includes.

Imho it makes sense to fix this regardless whether the inclusion
of windows.h inside win_utf8_io.h will be changed or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_includes.patch
Type: application/octet-stream
Size: 1372 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20160123/dce58e8c/attachment.obj 


More information about the flac-dev mailing list