From 9968ba922ade8ad48efe502a8c02937ac55e28c4 Mon Sep 17 00:00:00 2001 Message-Id: <9968ba922ade8ad48efe502a8c02937ac55e28c4.1377873639.git.jdenemar@redhat.com> From: Jim Fehlig Date: Tue, 13 Aug 2013 15:20:41 +0100 Subject: [PATCH] build: fix compilation of virt-login-shell.c For https://bugzilla.redhat.com/show_bug.cgi?id=988491 virt-login-shell.c was failing to compile with CC virt_login_shell-virt-login-shell.o virt-login-shell.c: In function 'main': virt-login-shell.c:205:5: error: implicit declaration of function 'setlocale' [-Werror=implicit-function-declaration] virt-login-shell.c:205:5: error: nested extern declaration of 'setlocale' [-Werror=nested-externs] virt-login-shell.c:205:20: error: 'LC_ALL' undeclared (first use in this function) (cherry picked from commit 26b8a4dd23716f42f6e3fd5ff41fba30598689e5) --- tools/virt-login-shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virt-login-shell.c b/tools/virt-login-shell.c index ffbc713..b8f1a28 100644 --- a/tools/virt-login-shell.c +++ b/tools/virt-login-shell.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "internal.h" #include "virerror.h" -- 1.8.3.2