Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 4887)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc	(revision 4889)
@@ -33,5 +33,5 @@
 #include "MBadPixelsCam.h"
 
-#include <fstream>
+#include <iostream>
 
 #include <TClonesArray.h>
@@ -530,5 +530,5 @@
 //   1235: 17 193 292 293
 //
-void MBadPixelsCam::AsciiRead(ifstream &fin, UInt_t run=0)
+void MBadPixelsCam::AsciiRead(istream &fin, UInt_t run=0)
 {
     Int_t len;
Index: trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h
===================================================================
--- trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h	(revision 4887)
+++ trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h	(revision 4889)
@@ -44,6 +44,6 @@
     Short_t GetNumMaxCluster(const MGeomCam &geom, Int_t aidx=-1) { return GetNumMaxCluster(MBadPixelsPix::kUnsuitableRun, geom, aidx); }
 
-    void   AsciiRead(ifstream &fin, UInt_t run);
-    void   AsciiRead(ifstream &fin) { AsciiRead(fin, 0); }
+    void   AsciiRead(istream &fin, UInt_t run);
+    void   AsciiRead(istream &fin) { AsciiRead(fin, 0); }
     Bool_t AsciiWrite(ostream &out, UInt_t run) const;
     Bool_t AsciiWrite(ostream &out) const { return AsciiWrite(out, 0); }
