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

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



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

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


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