The source project of this merge request has been removed.
Draft: Fix compile for MinGW with `CPPFLAGS="-D__need_FILE" ./configure`
Adds missing type checks and defines Compiles with CPPFLAGS="-D__need_FILE" ./configure
Adds missing type checks and defines Compiles with CPPFLAGS="-D__need_FILE" ./configure