diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index f67aadf..64fbbf5 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -16,6 +16,9 @@ License along with this library; if not, see . */ #ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif #include #endif diff --git a/common/sw_canvas.c b/common/sw_canvas.c index 651c52b..0f67c80 100644 --- a/common/sw_canvas.c +++ b/common/sw_canvas.c @@ -16,6 +16,9 @@ License along with this library; if not, see . */ #ifdef HAVE_CONFIG_H +#ifdef __MINGW32__ +#undef HAVE_STDLIB_H +#endif #include #endif