[libvirt] [PATCH] Fix build on freebsd

Pavel Hrdina phrdina at redhat.com
Mon Jun 2 14:49:40 UTC 2014


On freebsd there isn't known "setlocale" so we have to include locale.h

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed under trivial rule

 src/network/leaseshelper.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/network/leaseshelper.c b/src/network/leaseshelper.c
index e53a73c..b6f6c32 100644
--- a/src/network/leaseshelper.c
+++ b/src/network/leaseshelper.c
@@ -25,6 +25,7 @@
 
 #include <config.h>
 
+#include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
-- 
1.8.5.5




More information about the libvir-list mailing list