Message ID | CAG5mAdw1dO85AkuXgA7UuGmCcehWPMijrdYB5_NECgP8uoHHQg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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"
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"