]> xenbits.xensource.com Git - people/dariof/libvirt.git/commit
build: fix compilation of virt-login-shell.c
authorJim Fehlig <jfehlig@suse.com>
Thu, 8 Aug 2013 19:53:25 +0000 (13:53 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 8 Aug 2013 19:53:25 +0000 (13:53 -0600)
commit26b8a4dd23716f42f6e3fd5ff41fba30598689e5
treec981eab28f6031a737c80e6ad49dc0d2970d9064
parenta197fe5f9fa100cea2dbf20ec970108fe0a2ce17
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