[alsa-devel] [PATCH] BAT: fix missing header

Caleb Crome caleb at crome.org
Fri Oct 23 00:07:32 CEST 2015


There was no warning when compiling with -O3, but gave a warning without it.

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

    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"


More information about the Alsa-devel mailing list