summaryrefslogtreecommitdiff
path: root/sysutils/xosview/patches/patch-ai
blob: f69068151dd0bc05e41cebcbe63622c3f89a7f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ai,v 1.1 2003/09/30 23:03:59 christos Exp $

--- bsd/btrymeter.cc.orig	1999-02-16 09:09:22.000000000 -0500
+++ bsd/btrymeter.cc	2003-09-30 18:39:27.000000000 -0400
@@ -11,6 +11,7 @@
 //
 #include "btrymeter.h"
 #include "xosview.h"
+#include <iostream>
 #include <fstream.h>
 #include <stdlib.h>
 
@@ -52,7 +53,7 @@
   int loadinfo = open(APMFILENAME, O_RDONLY, 0);
 
   if ( !loadinfo ){
-    cerr <<"Can not open file : " <<APMFILENAME <<endl;
+    std::cerr <<"Can not open file : " <<APMFILENAME << std::endl;
     parent_->done(1);
     return;
   }