]> xenbits.xensource.com Git - libvirt.git/commit
domtop: Fix build on mingw
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Jul 2014 15:26:57 +0000 (17:26 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Jul 2014 07:53:18 +0000 (09:53 +0200)
commitd82170d757d62c8e1d6e73fa1fa75ed4ed8b4fd0
treea143e8b9a536d183f7e978b65dae9119b410fb31
parent72823b44433f6f46914c37db790d1dcfd806a5e9
domtop: Fix build on mingw

Firstly, there's no sigaction() nor struct sigaction on mingw. We have
to use the one implemented by gnulib (and hence link with gnulib).
Then, for some reason one header file from windows defines ERROR
symbol. Yes it does. Sigh.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
examples/domtop/Makefile.am
examples/domtop/domtop.c