BAT: fix missing header
diff mbox

Message ID CAG5mAdw1dO85AkuXgA7UuGmCcehWPMijrdYB5_NECgP8uoHHQg@mail.gmail.com
State New
Headers show

Commit Message

Caleb Crome Oct. 22, 2015, 10:07 p.m. UTC
There was no warning when compiling with -O3, but gave a warning without it.

commit a19fa1f7dff40e56dc4327c5e5fdde9e15bd8a55
Author: Caleb Crome <ccrome@gmail.com>
Date:   Tue Oct 20 20:59:50 2015 +0000

    Add missing locale.h header.

Comments

Liam Girdwood Oct. 23, 2015, 10:51 a.m. UTC | #1
On Thu, 2015-10-22 at 15:07 -0700, Caleb Crome wrote:
> There was no warning when compiling with -O3, but gave a warning without it.
> 
> commit a19fa1f7dff40e56dc4327c5e5fdde9e15bd8a55
> Author: Caleb Crome <ccrome@gmail.com>
> Date:   Tue Oct 20 20:59:50 2015 +0000
> 

Best to resend your patches using git format-patch and git send-email
with your Signed-off-by:

Liam

>     Add missing locale.h header.
> 
> diff --git a/bat/bat.c b/bat/bat.c
> index 57c9db8..14666b2 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"

Patch
diff mbox

diff --git a/bat/bat.c b/bat/bat.c
index 57c9db8..14666b2 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"