Index: trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h
===================================================================
--- trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 14863)
+++ trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.h	(revision 14866)
@@ -12,4 +12,27 @@
 #define NPIX       1440      // max. number of pixels
 #define NTMARK      160      // max. number of timeMarker signals
+
+//get rid of the ofits.h inclusion and various other messy items in DrsCalib.h
+//It has nothing to do here, and it creates compilation errors
+//the proper way would be to re-design the inclusion scheme,
+//but that's beyond the time I can allocate to this fix.
+#define MARS_ofits
+namespace std
+{
+ class ofits
+ {
+     public:
+         ofits(){};
+         ofits(const char*){};
+         ~ofits(){};
+         bool operator !(){return false;}
+         void AddColumnInt(const char* ){};
+         void AddColumnFloat(int, const char*, const char*){};
+         void SetInt(const char*, int, const char*){};
+         void WriteTableHeader(const char*){};
+         bool WriteRow(const void*, long unsigned int ){return false;};
+ };
+};
+typedef int Int_t;
 
 //#define LOAD_RAW
