Replace all calls to stat by gnupg_stat.
* common/sysutils.c (gnupg_stat): New. * common/sysutils.h: Include sys/stat.h.
Yet another wrapper for Unicode support on Windows.
Backported-from-master: 18e5dd7b03ced51611c9ba1345cf498a0aaf14a6)
- GnuPG-bug-id: T5098
- Signed-off-by: Werner Koch <wk@gnupg.org>