diff mbox

[12/13] libdvbv5: fix missing includes

Message ID 1388245561-8751-12-git-send-email-neolynx@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

André Roth Dec. 28, 2013, 3:46 p.m. UTC
Signed-off-by: André Roth <neolynx@gmail.com>
---
 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(+)

Comments

Mauro Carvalho Chehab Dec. 29, 2013, 3:44 a.m. UTC | #1
Em Sat, 28 Dec 2013 16:46:00 +0100
André Roth <neolynx@gmail.com> escreveu:

> Signed-off-by: André Roth <neolynx@gmail.com>
> ---
>  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"
diff mbox

Patch

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
 
 #include "parse_string.h"
 #include "dvb-log.h"