[1/2] BAT: Add missing locale.h header
diff mbox

Message ID 1445622370-18673-1-git-send-email-caleb@crome.org
State New
Headers show

Commit Message

Caleb Crome Oct. 23, 2015, 5:46 p.m. UTC
Missing include became apparent when -O3 was not specified.
Added the header to remove error messages during debug compile.

Signed-off-by: Caleb Crome <caleb@crome.org>
---
 bat/bat.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai Oct. 24, 2015, 7:44 a.m. UTC | #1
On Fri, 23 Oct 2015 19:46:09 +0200,
Caleb Crome wrote:
> 
> Missing include became apparent when -O3 was not specified.
> Added the header to remove error messages during debug compile.
> 
> Signed-off-by: Caleb Crome <caleb@crome.org>

Applied, thanks.


Takashi

> ---
>  bat/bat.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/bat/bat.c b/bat/bat.c
> index 56cfaf6..086b9fa 100644
> --- a/bat/bat.c
> +++ b/bat/bat.c
> @@ -23,6 +23,7 @@
>  #include <getopt.h>
>  #include <math.h>
>  #include <limits.h>
> +#include <locale.h>
>  
>  #include "aconfig.h"
>  #include "gettext.h"
> -- 
> 2.6.1
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

Patch
diff mbox

diff --git a/bat/bat.c b/bat/bat.c
index 56cfaf6..086b9fa 100644
--- a/bat/bat.c
+++ b/bat/bat.c
@@ -23,6 +23,7 @@ 
 #include <getopt.h>
 #include <math.h>
 #include <limits.h>
+#include <locale.h>
 
 #include "aconfig.h"
 #include "gettext.h"