]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix build on freebsd
authorPavel Hrdina <phrdina@redhat.com>
Mon, 2 Jun 2014 14:43:11 +0000 (16:43 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 2 Jun 2014 14:45:42 +0000 (16:45 +0200)
On freebsd there isn't known "setlocale" so we have to include locale.h

src/network/leaseshelper.c

index e53a73c668a1a9c5bacf79ba0e84b34d377cf165..b6f6c32b507b28e19c00497ca52fd113e92a9fe7 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <config.h>
 
+#include <locale.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>