]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Move locale.h include from virutil to virstring
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 22 Jun 2017 11:34:38 +0000 (13:34 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 22 Jun 2017 12:30:27 +0000 (14:30 +0200)
Commit 5c54d29aaeb7 forgot to do that when moving the only function
using it and it broke the build on some platforms.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virstring.c
src/util/virutil.c

index 1bd677723265ba1fa60b8c91c744404b72528145..feea5be05198cd9a950380f8ad100536397d2d9a 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <regex.h>
+#include <locale.h>
 
 #include "base64.h"
 #include "c-ctype.h"
index d7e01d46426814d629ec098aeac7dcd9eef03a80..e4de4caec91da3ad26cdf868f1c6f8addc582835 100644 (file)
@@ -45,7 +45,6 @@
 #include <sys/ioctl.h>
 #include <string.h>
 #include <termios.h>
-#include <locale.h>
 
 #if WITH_DEVMAPPER
 # include <libdevmapper.h>