Index: /trunk/Mars/mbase/MTaskInteractive.cc
===================================================================
--- /trunk/Mars/mbase/MTaskInteractive.cc	(revision 19261)
+++ /trunk/Mars/mbase/MTaskInteractive.cc	(revision 19262)
@@ -60,5 +60,7 @@
 #include "MTaskInteractive.h"
 
+#if ROOT_VERSION_CODE < ROOT_VERSION(6,00,00)
 #include <Api.h>
+#endif
 #include <TMethodCall.h>
 
@@ -126,4 +128,5 @@
 Bool_t MTaskInteractive::Set(void *fcn, Int_t no, const char *params)
 {
+#if ROOT_VERSION_CODE < ROOT_VERSION(6,00,00)
     // this function is called by CINT instead of the function above
     if (!fcn)
@@ -159,4 +162,8 @@
 
     return kTRUE;
+#else
+    gLog << err << "MTaskInteractive::Set not yet supported for root 6." << endl;
+    return kFALSE;
+#endif
 }
 
