summaryrefslogtreecommitdiff
path: root/common/sw_canvas.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-13 12:41:18 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:54 +0100
commite8efd344c0aff13efc1576aade87b34712a7a7cd (patch)
treed6821f8e152da542875d35dac3fab0d9616cf9e8 /common/sw_canvas.c
parentec119c67f31802d00191e6502379b7765980e695 (diff)
client/common: mingw32: workaround HAVE_STDLIB_H redefined in jconfig.h
Diffstat (limited to 'common/sw_canvas.c')
-rw-r--r--common/sw_canvas.c3
1 files changed, 3 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
+#ifdef __MINGW32__
+#undef HAVE_STDLIB_H
+#endif
#include <config.h>
#endif