From caabc35cb169a864aa6cafffe2e8d3acf89c5e9a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 3 Jul 2014 18:17:59 +0000 Subject: [PATCH] image: fix a compilation error caused by the GDI+ system headers. --- src/image/codec/gdiplus-image.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/image/codec/gdiplus-image.cpp b/src/image/codec/gdiplus-image.cpp index 0383c7f3..157e0180 100644 --- a/src/image/codec/gdiplus-image.cpp +++ b/src/image/codec/gdiplus-image.cpp @@ -15,6 +15,8 @@ #if defined USE_GDIPLUS #include +using std::min; +using std::max; #include #include