Fix compilation warning due to missing header for sigaction
commit86f69a92b163dac5ee230c8a109c3e8f37f13d38
authorAlexandre Raymond <cerbere@gmail.com>
Thu, 2 Jun 2011 02:21:30 +0000 (1 22:21 -0400)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 8 Jun 2011 08:04:29 +0000 (8 09:04 +0100)
tree061efd2e63d6dd6f895901c75a275efc5cb32592
parenta90d4690074526f54ad0851fce19fa6783f06803
Fix compilation warning due to missing header for sigaction

Fix the following warning by including signal.h directly in qemu-common.h
----8<----
iohandler.c: In function ‘qemu_init_child_watch’:
iohandler.c:172: warning: implicit declaration of function ‘sigaction’
iohandler.c:172: warning: nested extern declaration of ‘sigaction’
----8<----

Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-common.h