summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-03-07 19:30:31 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-03-07 19:30:31 +0000
commita9d6b948b590f58023a97dddd76302e40d49d2e2 (patch)
tree3a3e622f0e4b3df750426109df169374103f81c9 /rescue
parent8037da06feea097716ce700f38c0eac0d5411a7c (diff)
downloadlibguestfs-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.c1
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"