--- src/osgPlugins/jpeg/ReaderWriterJPEG.cpp 2015-04-07 20:01:12.000000000 +0200 +++ src/osgPlugins/jpeg/ReaderWriterJPEG.cpp.new 2016-12-17 01:44:13.000000000 +0100 @@ -72,11 +72,13 @@ /* Some versions of jmorecfg.h define boolean, some don't... Those that do also define HAVE_BOOLEAN, so we can guard using that. */ +/* #ifndef HAVE_BOOLEAN typedef int boolean; #define FALSE 0 #define TRUE 1 #endif +*/ /* CODE FOR READING/WRITING JPEG FROM STREAMS * This code was taken directly from jdatasrc.c and jdatadst.c (libjpeg source)