$NetBSD: patch-ah,v 1.1.2.2 2006/01/25 12:45:20 salo Exp $

--- libs/xpdf/xpdf/Stream.h.orig	2004-01-22 01:26:45.000000000 +0000
+++ libs/xpdf/xpdf/Stream.h	2006-01-24 18:44:04.000000000 +0000
@@ -233,6 +233,8 @@
 
   ~StreamPredictor();
 
+  GBool isOk() { return ok; }
+
   int lookChar();
   int getChar();
 
@@ -250,6 +252,7 @@
   int rowBytes;			// bytes per line
   Guchar *predLine;		// line buffer
   int predIdx;			// current index in predLine
+  GBool ok;
 };
 
 //------------------------------------------------------------------------
