Add proper #includes so that we do not get undef errors to S_ISCHR during linking. Signed-off-by: Alex Chiang --- --- zvbi-0.2.33.orig/src/io-dvb.c +++ zvbi-0.2.33/src/io-dvb.c @@ -29,6 +29,8 @@ #include #include #include +#include +#include #ifndef HAVE_S64_U64 /* Linux 2.6.x asm/types.h defines __s64 and __u64 only --- zvbi-0.2.33.orig/src/io-v4l.c +++ zvbi-0.2.33/src/io-v4l.c @@ -42,6 +42,7 @@ static const char rcsid [] = #include #include /* timeval */ #include /* fd_set, uid_t */ +#include /* S_ISCHR */ #include /* for (_)videodev.h */ #include --- zvbi-0.2.33.orig/contrib/ntsc-cc.c +++ zvbi-0.2.33/contrib/ntsc-cc.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #ifdef HAVE_GETOPT_LONG # include