24 lines
571 B
Text
24 lines
571 B
Text
|
$NetBSD: patch-ag,v 1.1 2004/01/11 21:22:41 jschauma Exp $
|
||
|
|
||
|
--- TailFile.h.orig 2004-01-11 16:15:51.000000000 -0500
|
||
|
+++ TailFile.h 2004-01-11 16:15:55.000000000 -0500
|
||
|
@@ -23,7 +23,8 @@
|
||
|
#include "Colorizer.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
-#include <strstream.h>
|
||
|
+#include <iostream>
|
||
|
+#include <strstream>
|
||
|
|
||
|
#define MAX_CHARS_READ 1024
|
||
|
|
||
|
@@ -40,7 +41,7 @@
|
||
|
// the stream position
|
||
|
long m_position;
|
||
|
// the follow buffer, used in follow_print
|
||
|
- ostrstream *m_follow_buffer;
|
||
|
+ std::ostrstream *m_follow_buffer;
|
||
|
|
||
|
// private methods
|
||
|
void find_position(int n);
|