git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66477d0
)
Fix build error in fuse/guestmount.c.
author
Matthew Booth
<mbooth@redhat.com>
Wed, 14 Apr 2010 10:13:04 +0000
(11:13 +0100)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/fuse/guestmount.c
b/fuse/guestmount.c
index
b4a917f
..
27a4cef
100644
(file)
--- a/
fuse/guestmount.c
+++ b/
fuse/guestmount.c
@@
-40,6
+40,7
@@
#include <assert.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <locale.h>
#include <fuse.h>
#include <guestfs.h>