[alsa-devel] [PATCH 1/2] BAT: Add missing locale.h header

Caleb Crome caleb at crome.org
Fri Oct 23 19:11:41 CEST 2015


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 at crome.org>
---
 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



More information about the Alsa-devel mailing list