From 26b8a4dd23716f42f6e3fd5ff41fba30598689e5 Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Thu, 8 Aug 2013 13:53:25 -0600 Subject: [PATCH] build: fix compilation of virt-login-shell.c 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) --- 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 ffbc713454..b8f1a28a8e 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" -- GitLab