Fixed a Wmissing-declarations warning when compiling with MinGW.
Merge pull request #1682 from SpecLad:Wmissing-declarations