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 <[email protected]>
---
 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
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to