Re: [PATCH 12/13] libdvbv5: fix missing includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Sat, 28 Dec 2013 16:46:00 +0100
André Roth <neolynx@xxxxxxxxx> escreveu:

> Signed-off-by: André Roth <neolynx@xxxxxxxxx>
> ---
>  lib/libdvbv5/dvb-file.c     | 1 +
>  lib/libdvbv5/dvb-sat.c      | 1 +
>  lib/libdvbv5/dvb-scan.c     | 1 +
>  lib/libdvbv5/parse_string.c | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c
> index 9abb1f7..d5b00e2 100644
> --- a/lib/libdvbv5/dvb-file.c
> +++ b/lib/libdvbv5/dvb-file.c
> @@ -21,6 +21,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <string.h>
> +#include <strings.h> // strcasecmp
>  #include <unistd.h>
>  
>  #include "dvb-file.h"
> diff --git a/lib/libdvbv5/dvb-sat.c b/lib/libdvbv5/dvb-sat.c
> index 3cbcf03..c35e3d7 100644
> --- a/lib/libdvbv5/dvb-sat.c
> +++ b/lib/libdvbv5/dvb-sat.c
> @@ -21,6 +21,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <unistd.h>
> +#include <strings.h> // strcasecmp
>  
>  #include "dvb-fe.h"
>  #include "dvb-v5-std.h"
> diff --git a/lib/libdvbv5/dvb-scan.c b/lib/libdvbv5/dvb-scan.c
> index 6f3def6..d0f0b39 100644
> --- a/lib/libdvbv5/dvb-scan.c
> +++ b/lib/libdvbv5/dvb-scan.c
> @@ -35,6 +35,7 @@
>  #include <sys/stat.h>
>  #include <sys/types.h>
>  #include <stdlib.h>
> +#include <sys/time.h>
>  
>  #include "dvb-scan.h"
>  #include "dvb-frontend.h"
> diff --git a/lib/libdvbv5/parse_string.c b/lib/libdvbv5/parse_string.c
> index f7b745e..8bd56f3 100644
> --- a/lib/libdvbv5/parse_string.c
> +++ b/lib/libdvbv5/parse_string.c
> @@ -27,6 +27,7 @@
>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <string.h>
> +#include <strings.h> // strcasecmp

Don't use C99 comments.
>  
>  #include "parse_string.h"
>  #include "dvb-log.h"


-- 

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux