[PATCH] leaseshelper: Include locale.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The commit baafe668 introduces this new helper utility. As in all
our programs, there's setlocale() called at the beginning of
main().  However, this source file don't include locale.h file
which causes build errors on some systems (e.g. mine).

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/network/leaseshelper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/network/leaseshelper.c b/src/network/leaseshelper.c
index e53a73c..eb695e4 100644
--- a/src/network/leaseshelper.c
+++ b/src/network/leaseshelper.c
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
+#include <locale.h>
 
 #include "virutil.h"
 #include "virthread.h"
-- 
2.0.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]