[PATCH] util: Move locale.h include from virutil to virstring

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

 



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@xxxxxxxxxx>
---

Notes:
    Pushed under the build-breaker rule

 src/util/virstring.c | 1 +
 src/util/virutil.c   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virstring.c b/src/util/virstring.c
index 1bd677723265..feea5be05198 100644
--- a/src/util/virstring.c
+++ b/src/util/virstring.c
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <regex.h>
+#include <locale.h>

 #include "base64.h"
 #include "c-ctype.h"
diff --git a/src/util/virutil.c b/src/util/virutil.c
index d7e01d464268..e4de4caec91d 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -45,7 +45,6 @@
 #include <sys/ioctl.h>
 #include <string.h>
 #include <termios.h>
-#include <locale.h>

 #if WITH_DEVMAPPER
 # include <libdevmapper.h>
-- 
2.13.1

--
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]
  Powered by Linux