fix build with normal dvb api v1 headers
[enigma2.git] / lib / dvb / demux.cpp
index 286821c318992999b4716d73cd4a841d7232cc52..f24fcddc798c9286967c57b631a88dc9371616c9 100644 (file)
@@ -7,6 +7,9 @@
 
 #if HAVE_DVB_API_VERSION < 3
 #include <ost/dmx.h>
+#ifndef DMX_SET_NEGFILTER_MASK
+       #define DMX_SET_NEGFILTER_MASK   _IOW('o',48,uint8_t *)
+#endif
 #else
 #include <linux/dvb/dmx.h>
 #endif
@@ -74,6 +77,8 @@ eDVBSectionReader::eDVBSectionReader(eDVBDemux *demux, eMainloop *context, RESUL
 #endif
        fd = ::open(filename, O_RDWR);
        
+       eDebug("eDVBSectionReader has fd %d", fd);
+       
        if (fd >= 0)
        {
                notifier=new eSocketNotifier(context, fd, eSocketNotifier::Read);