--- OpenSceneGraph-2.8.2.orig/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp 2009-07-17 09:50:06.000000000 +0200 +++ OpenSceneGraph-2.8.2/src/osgPlugins/jpeg/ReaderWriterJPEG.cpp 2009-10-14 18:52:58.000000000 +0200 @@ -81,7 +81,7 @@ struct jpeg_source_mgr pub; /* public fields */ std::istream * infile; /* source stream */ JOCTET * buffer; /* start of buffer */ - boolean start_of_file; /* have we gotten any data yet? */ + jpeg_boolean start_of_file; /* have we gotten any data yet? */ } stream_source_mgr; typedef stream_source_mgr * stream_src_ptr; @@ -138,7 +138,7 @@ * the front of the buffer rather than discarding it. */ -boolean fill_input_buffer (j_decompress_ptr cinfo) +jpeg_boolean fill_input_buffer (j_decompress_ptr cinfo) { stream_src_ptr src = (stream_src_ptr) cinfo->src; size_t nbytes; @@ -305,7 +305,7 @@ * write it out when emptying the buffer externally. */ -boolean empty_output_buffer (j_compress_ptr cinfo) +jpeg_boolean empty_output_buffer (j_compress_ptr cinfo) { stream_dest_ptr dest = (stream_dest_ptr) cinfo->dest;