diff --git a/3rdparty/libjasper/jas_malloc.c b/3rdparty/libjasper/jas_malloc.c index 098203613a..abb3498d16 100644 --- a/3rdparty/libjasper/jas_malloc.c +++ b/3rdparty/libjasper/jas_malloc.c @@ -78,7 +78,7 @@ #include #include #include -#ifndef _WIN32 +#if !defined _WIN32 || defined __MINGW__ || defined __MINGW32__ #include #endif