diff --git a/src/common/imagjpeg.cpp b/src/common/imagjpeg.cpp index 31e069e53a..2b9ba5d6d2 100644 --- a/src/common/imagjpeg.cpp +++ b/src/common/imagjpeg.cpp @@ -31,7 +31,7 @@ // This causes a conflict with jmorecfg.h header from libjpeg, so we have // to make sure libjpeg won't try to define boolean itself. This is done by // defining HAVE_BOOLEAN. -#if defined(__WXMSW__) && (defined(__MWERKS__) || defined(__DIGITALMARS__)) +#if defined(__WXMSW__) && (defined(__MWERKS__) || defined(__DIGITALMARS__) || defined(__WINE__)) #define HAVE_BOOLEAN #include "wx/msw/wrapwin.h" #endif