diff --git a/modules/highgui/src/grfmt_jpeg.cpp b/modules/highgui/src/grfmt_jpeg.cpp index 6ecf2d6542..521517639f 100644 --- a/modules/highgui/src/grfmt_jpeg.cpp +++ b/modules/highgui/src/grfmt_jpeg.cpp @@ -63,6 +63,9 @@ typedef unsigned char boolean; #endif +#undef FALSE +#undef TRUE + extern "C" { #include "jpeglib.h" }