diff -r -c xmradio-1.2/lcd_net.c xmradio-1.2.ti/lcd_net.c *** xmradio-1.2/lcd_net.c Tue Nov 20 10:50:58 2001 --- xmradio-1.2.ti/lcd_net.c Sun Oct 26 08:45:46 2003 *************** *** 30,35 **** --- 30,36 ---- #include #include #include + #include #include #include #include diff -r -c xmradio-1.2/radio.c xmradio-1.2.ti/radio.c *** xmradio-1.2/radio.c Tue Nov 27 13:30:42 2001 --- xmradio-1.2.ti/radio.c Sun Oct 26 08:34:16 2003 *************** *** 1068,1073 **** --- 1068,1078 ---- #ifdef linux + #if 1 + /* The VIDIOCGTUNER ioctl always seems to fail, so hack around it */ + arg = lcd_fieldstrength = 0; + return arg; + #else struct video_tuner v; if(tuner < 0) *************** *** 1087,1092 **** --- 1092,1098 ---- lcd_fieldstrength = arg; return arg; + #endif #else *************** *** 3931,3941 **** --- 3937,3949 ---- tmp = XGetDefault(dpy, APPCLASS, "channelSet"); if(tmp) chnlset = atoi(tmp); + #if 0 if(chnlsetCHNLSET_MAX) { fprintf(stderr, "wrong channels set. using default for weurope.\n"); chnlset = CHNLSET_WEUROPE; } + #endif if(!startFreqCmdLine && !startStation) {