diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-03-07 19:30:31 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-03-07 19:30:31 +0000 |
commit | a9d6b948b590f58023a97dddd76302e40d49d2e2 (patch) | |
tree | 3a3e622f0e4b3df750426109df169374103f81c9 | |
parent | 8037da06feea097716ce700f38c0eac0d5411a7c (diff) | |
download | libguestfs-a9d6b948b590f58023a97dddd76302e40d49d2e2.tar.gz libguestfs-a9d6b948b590f58023a97dddd76302e40d49d2e2.tar.xz libguestfs-a9d6b948b590f58023a97dddd76302e40d49d2e2.zip |
Include <locale.h> in compilation units that use setlocale function.
Fix required by gcc 4.6.0.
-rw-r--r-- | cat/virt-cat.c | 1 | ||||
-rw-r--r-- | cat/virt-filesystems.c | 1 | ||||
-rw-r--r-- | cat/virt-ls.c | 1 | ||||
-rw-r--r-- | df/main.c | 1 | ||||
-rw-r--r-- | inspector/virt-inspector.c | 1 | ||||
-rw-r--r-- | rescue/virt-rescue.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/cat/virt-cat.c b/cat/virt-cat.c index 834d490c..dca9ef49 100644 --- a/cat/virt-cat.c +++ b/cat/virt-cat.c @@ -23,6 +23,7 @@ #include <inttypes.h> #include <unistd.h> #include <getopt.h> +#include <locale.h> #include <assert.h> #include "progname.h" diff --git a/cat/virt-filesystems.c b/cat/virt-filesystems.c index 7eca9ebc..c6d52ace 100644 --- a/cat/virt-filesystems.c +++ b/cat/virt-filesystems.c @@ -24,6 +24,7 @@ #include <inttypes.h> #include <unistd.h> #include <getopt.h> +#include <locale.h> #include <assert.h> #include "c-ctype.h" diff --git a/cat/virt-ls.c b/cat/virt-ls.c index 315fb1ff..e2700d23 100644 --- a/cat/virt-ls.c +++ b/cat/virt-ls.c @@ -24,6 +24,7 @@ #include <unistd.h> #include <getopt.h> #include <fcntl.h> +#include <locale.h> #include <assert.h> #include "progname.h" @@ -24,6 +24,7 @@ #include <inttypes.h> #include <unistd.h> #include <getopt.h> +#include <locale.h> #include <assert.h> #ifdef HAVE_LIBVIRT diff --git a/inspector/virt-inspector.c b/inspector/virt-inspector.c index fda97874..e7db5b9b 100644 --- a/inspector/virt-inspector.c +++ b/inspector/virt-inspector.c @@ -23,6 +23,7 @@ #include <inttypes.h> #include <unistd.h> #include <getopt.h> +#include <locale.h> #include <assert.h> #include <libxml/xmlIO.h> diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c index 58be96bd..01892455 100644 --- a/rescue/virt-rescue.c +++ b/rescue/virt-rescue.c @@ -24,6 +24,7 @@ #include <unistd.h> #include <getopt.h> #include <errno.h> +#include <locale.h> #include <assert.h> #include "progname.h" |