diff --git a/util.c b/util.c index b118bdf21a..4ae7c4fc96 100644 --- a/util.c +++ b/util.c @@ -9,6 +9,10 @@ **********************************************************************/ +#if defined __MINGW32__ || defined __MINGW64__ +#define MINGW_HAS_SECURE_API 1 +#endif + #include "internal.h" #include