From: Alexandre Raymond Date: Thu, 2 Jun 2011 02:21:30 +0000 (-0400) Subject: Fix compilation warning due to missing header for sigaction X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~5700^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86f69a92b163dac5ee230c8a109c3e8f37f13d38;p=sdk%2Femulator%2Fqemu.git 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 Signed-off-by: Stefan Hajnoczi --- diff --git a/qemu-common.h b/qemu-common.h index b851b20..39fabc9 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -39,6 +39,7 @@ typedef struct Monitor Monitor; #include #include #include +#include #ifdef _WIN32 #include "qemu-os-win32.h"