[Pkg-libvirt-commits] [libguestfs] 130/156: lib: Missing include of <locale.h>.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 11f72d4c4f1465f2dcb7eed6b08a9c4c988bfaf5
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.
(cherry picked from commit 8a23c1d79e878599a17c70bfc0737159acd5b61d)
---
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