From 594b4bf87323b566af2ab4ec13a6a5b373448d66 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 30 May 2011 13:02:13 +0000 Subject: [PATCH] From Dimi Christop, build fix for RHEL 4. --- src/osgPlugins/tiff/ReaderWriterTIFF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp index e463b7825..92dd909d8 100644 --- a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp +++ b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp @@ -185,7 +185,7 @@ toff_t libtiffOStreamSeekProc(thandle_t fd, toff_t off, int i) { if (off==0) { - std::ostream::streampos checkEmpty = fout->tellp(); + std::streampos checkEmpty = fout->tellp(); if(checkEmpty < 0) { return 0;