[PATCH] BAT: fix missing header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

commit a19fa1f7dff40e56dc4327c5e5fdde9e15bd8a55
Author: Caleb Crome <ccrome@xxxxxxxxx>
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"
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux