diff options
author | Eric Blake <eblake@redhat.com> | 2012-01-27 11:16:20 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-01-27 11:18:35 -0700 |
commit | 93f93f516125b602f2aa29d167fc68cbed9d61b4 (patch) | |
tree | 8843093608b6461c7c9b8e8e1a9bfcd08b674e15 /.gitignore | |
parent | xml: fix struct typos (diff) | |
download | libvirt-93f93f516125b602f2aa29d167fc68cbed9d61b4.tar.gz libvirt-93f93f516125b602f2aa29d167fc68cbed9d61b4.tar.bz2 libvirt-93f93f516125b602f2aa29d167fc68cbed9d61b4.zip |
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.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 2533fced8..d1a42263a 100644 --- a/.gitignore +++ b/.gitignore @@ -79,6 +79,7 @@ /tests/qemuxmlnstest /tests/shunloadtest /tests/virhashtest +/tools/virt-host-validate /update.log Makefile Makefile.in |