summaryrefslogtreecommitdiffstats
path: root/cat/virt-filesystems.c
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 /cat/virt-filesystems.c
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 'cat/virt-filesystems.c')
-rw-r--r--cat/virt-filesystems.c1
1 files changed, 1 insertions, 0 deletions
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"