$NetBSD: patch-as,v 1.1 2007/10/10 16:57:25 rillig Exp $

--- utils/bufferstore.h.orig	1999-04-12 21:17:03.000000000 +0000
+++ utils/bufferstore.h	2007-10-10 18:11:58.000000000 +0000
@@ -1,8 +1,8 @@
 #ifndef _bufferstore_h
 #define _bufferstore_h
 
+#include <ostream>
 #include "bool.h"
-class ostream;
 
 class bufferStore {
 public:
@@ -19,7 +19,7 @@ public:
   unsigned int getDWord(long pos) const;
   const char* getString(long pos=0) const;
   void discardFirstBytes(int n);
-  friend ostream &operator<<(ostream &s, const bufferStore &m);
+  friend std::ostream &operator<<(std::ostream &s, const bufferStore &m);
   bool empty() const;
 
   // Writing utils
