On 28.05.2009 16:49, VDR User wrote:
Or you may also just do this:
--- vdr.c.orig 2009-04-12 11:05:51.000000000 -0700 +++ vdr.c 2009-04-12 11:07:08.000000000 -0700 @@ -32,6 +32,7 @@ #include <pwd.h> #include <signal.h> #include <stdlib.h> +#include <linux/types.h> #include <sys/capability.h> #include <sys/prctl.h> #include <termios.h>
I don't see how this would make any difference, since the problem is in compiling dvbdevice.c, not vdr.c
From the suggestion in
http://e-tobi.net/websvn/filedetails.php?repname=vdr-pkg&path=%2Fvdr%2Fb...
posted earlier in this thread I found that this
--- dvbdevice.h 2009/05/08 13:33:46 2.5 +++ dvbdevice.h 2009/06/01 11:20:32 @@ -10,6 +10,7 @@ #ifndef __DVBDEVICE_H #define __DVBDEVICE_H
+#include <sys/mman.h> // FIXME: workaround for broken linux-dvb header files #include <linux/dvb/frontend.h> #include <linux/dvb/version.h> #include "device.h"
alone fixes the problem (tested with the latest driver from http://linuxtv.org/hg/v4l-dvb).
Klaus