ACLiC and TFile problem

Please help me with this problem:

void foo() { TFile *file = new TFile("$(ROOTSYS)/tutorials/hsimple.root"); if (!file) return; file->IsZombie(); }

root[] .x foo.C++

[quote]/home/mucha/./foo.C:3: error: invalid use of undefined type struct TFile
/cern/root/include/TUUID.h:39: error: forward declaration of struct TFile
/home/mucha/./foo.C:5: error: invalid use of undefined type struct TFile
/cern/root/include/TUUID.h:39: error: forward declaration of struct TFile[/quote]

CVS version of root, linux gcc 4.01 (btw: on root 4.08 all works fine)

Thanks, Jan

#include "TFile.h" void foo() { TFile *file = new TFile("$(ROOTSYS)/tutorials/hsimple.root"); if (!file) return; file->IsZombie(); }