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

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:46 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 8a23c1d79e878599a17c70bfc0737159acd5b61d
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Aug 13 22:18:44 2014 +0100

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

diff --git a/src/libvirt-is-version.c b/src/libvirt-is-version.c
index 9edd169..bb7c610 100644
--- a/src/libvirt-is-version.c
+++ b/src/libvirt-is-version.c
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <errno.h>
+#include <locale.h>
 #include <libintl.h>
 
 #include <libvirt/libvirt.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