
-I$(top_srcdir)/include/lib/driver/
And add a define near the top somewhere:
#define SAA_NTSC 0
Then, it'll let you include the file, and everything compiles just fine. Anyone willing to test it?
int main(int argc, char **argv)
{
time_t t=0;
int res;
unsigned int tvsystem = 0;
stime(&t);
eDebug("%s", copyright);
setlocale (LC_ALL, "");
bindtextdomain ("tuxbox-enigma", "/share/locale");
bind_textdomain_codeset("tuxbox-enigma", "UTF8");
textdomain ("tuxbox-enigma");
eConfig::getInstance()->getKey("/elitedvb/video/tvsystem", tvsystem );
// If we really WANT NTSC
if(tvsystem == SAA_NTSC)
{
// Then set it to NTSC before we show anything on the screen.
eAVSwitch::getInstance()->setVSystem(vsNTSC);
}
Decoder::Initialize();
Decoder::displayIFrameFromFile("/iframe");
eConfigOld c;
c.convert("/var/tuxbox/config/enigma/config");
eZap ezap(argc, argv);
res=ezap.exec();
Decoder::Flush();
exit(res);
}
Just cut & paste the function, and recompile!