[Pkg-libvirt-commits] [libguestfs] 75/266: builder: Missing include of <locale.h>.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit 6a51ae503c372b2548c91639e8c23c8bbeac3c44
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Aug 13 13:50:36 2014 +0100

    builder: Missing include of <locale.h>.
    
    Required by setlocale.  For some reason you only see the error
    when compiling with -O0.
---
 builder/index-validate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/builder/index-validate.c b/builder/index-validate.c
index fed0f81..782718d 100644
--- a/builder/index-validate.c
+++ b/builder/index-validate.c
@@ -24,6 +24,7 @@
 #include <limits.h>
 #include <getopt.h>
 #include <errno.h>
+#include <locale.h>
 #include <libintl.h>
 
 #include <guestfs.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list