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 /rescue | |
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.
Diffstat (limited to 'rescue')
-rw-r--r-- | rescue/virt-rescue.c | 1 |
1 files changed, 1 insertions, 0 deletions
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" |