diff --git a/gdi_canvas.c b/gdi_canvas.c index f67aadf..64fbbf5 100644 --- a/gdi_canvas.c +++ b/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/sw_canvas.c b/sw_canvas.c index 651c52b..0f67c80 100644 --- a/sw_canvas.c +++ b/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