The attached patches solve several compilation warnings and errors when building gnupg-2.3.4 with mingw.org's MinGW: headers that don't exist in this MinGW or don't provide prototypes for some functions or need to be included for some functions to be visible.
Description
Description