Fix build error in fuse/guestmount.c.
authorMatthew Booth <mbooth@redhat.com>
Wed, 14 Apr 2010 10:13:04 +0000 (11:13 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 14 Apr 2010 10:13:04 +0000 (11:13 +0100)
guestmount.c: In function 'main':
guestmount.c:899: error: implicit declaration of function 'setlocale'
[-Wimplicit-function-declaration]

guestmount.c wasn't including locale.h.

fuse/guestmount.c

index b4a917f..27a4cef 100644 (file)
@@ -40,6 +40,7 @@
 #include <assert.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <locale.h>
 
 #include <fuse.h>
 #include <guestfs.h>