summaryrefslogtreecommitdiffstats
path: root/client/jpeg_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/jpeg_decoder.h')
-rw-r--r--client/jpeg_decoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/jpeg_decoder.h b/client/jpeg_decoder.h
index 8f7e1bb8..ae76f504 100644
--- a/client/jpeg_decoder.h
+++ b/client/jpeg_decoder.h
@@ -30,6 +30,11 @@
extern "C" {
#include <jpeglib.h>
+#ifdef HAVE_STDLIB_H
+/* on mingw, there is a hack,
+ and we also include config.h from spice-common, which redefine it */
+#undef HAVE_STDLIB_H
+#endif
}
class RGBConverter {