From cfe2680190a284c606a70df65aa630dd37c7cd42 Mon Sep 17 00:00:00 2001 From: hristov Date: Fri, 12 Sep 2003 21:03:26 +0000 Subject: [PATCH] Changes needed on Sun --- RAW/AliRawEvent.cxx | 2 +- RAW/AliRawReaderFile.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RAW/AliRawEvent.cxx b/RAW/AliRawEvent.cxx index 589e76d5c5a..e8462c74da8 100644 --- a/RAW/AliRawEvent.cxx +++ b/RAW/AliRawEvent.cxx @@ -944,7 +944,7 @@ void AliRunDB::Update(AliStats *stats) fRunDB->cd(); char sname[64]; - char *s = strrchr(stats->GetFileName(), '/'); + char *s = (char*)strrchr(stats->GetFileName(), '/'); if (s) { s++; strcpy(sname, s); diff --git a/RAW/AliRawReaderFile.h b/RAW/AliRawReaderFile.h index fea1b751702..e261ed7a141 100644 --- a/RAW/AliRawReaderFile.h +++ b/RAW/AliRawReaderFile.h @@ -4,7 +4,11 @@ * See cxx source for full Copyright notice */ #include "AliRawReader.h" +#ifdef __CINT__ +class fstream; +#else #include +#endif #include -- 2.39.3