]> git.alsa-project.org Git - alsa-utils.git/commitdiff
BAT: Add missing locale.h header
authorCaleb Crome <caleb@crome.org>
Fri, 23 Oct 2015 17:46:09 +0000 (17:46 +0000)
committerTakashi Iwai <tiwai@suse.de>
Sat, 24 Oct 2015 07:43:26 +0000 (09:43 +0200)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
bat/bat.c

index 56cfaf6ffecc4b9e2649d8946f5010402e14472e..086b9fa4514db8fb9d015d1e4aa529940eca6bbe 100644 (file)
--- 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"