]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix missing include
authorEric Blake <eblake@redhat.com>
Fri, 27 Jan 2012 18:16:20 +0000 (11:16 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 27 Jan 2012 18:18:35 +0000 (11:18 -0700)
commit93f93f516125b602f2aa29d167fc68cbed9d61b4
tree8843093608b6461c7c9b8e8e1a9bfcd08b674e15
parent83ed03010bf7ce98b1732544f21a83243cfe7ff8
build: fix missing include

Fix a build failure:

virt-host-validate.c: In function 'main':
virt-host-validate.c:82:5: error: implicit declaration of function 'setlocale' [-Werror=implicit-function-declaration]
virt-host-validate.c:82:5: error: nested extern declaration of 'setlocale' [-Werror=nested-externs]
virt-host-validate.c:82:20: error: 'LC_ALL' undeclared (first use in this function)

* tools/virt-host-validate.c: Add <locale.h>.
* .gitignore: Ignore built executable.
.gitignore
tools/virt-host-validate.c