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>