From patchwork Thu Jun 2 02:21:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandre Raymond X-Patchwork-Id: 98325 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 65187B6F8D for ; Thu, 2 Jun 2011 12:34:28 +1000 (EST) Received: from localhost ([::1]:48718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRxjs-0001eg-TF for incoming@patchwork.ozlabs.org; Wed, 01 Jun 2011 22:34:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRxY8-0007wB-7N for qemu-devel@nongnu.org; Wed, 01 Jun 2011 22:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRxY6-00026t-EQ for qemu-devel@nongnu.org; Wed, 01 Jun 2011 22:22:15 -0400 Received: from mail-vx0-f173.google.com ([209.85.220.173]:36326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRxY5-00026L-Sv; Wed, 01 Jun 2011 22:22:14 -0400 Received: by vxb37 with SMTP id 37so379314vxb.4 for ; Wed, 01 Jun 2011 19:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:content-transfer-encoding; bh=swR/LZLDRlllh1eddIxBC58ro5Y2fOeW/zk2oNVN9d4=; b=thMhyYinSjexkUUaqGzKu9IydgaPvWJKrJQEvu71Yj1Arl2Tu/cnwC94XsUqFS+E86 ZMszwqHmGos11y0sADPRbjth0c4ZMsao+bNGW8MEGIwAd2ffLdsC8oP3P2rHusbL3nYN Fd+33E6pbuiIX5Rswqf6tCVFJaBj5lJ+nv8Gg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=RIE+r4jvFfQt0INN0ld+SbgOTm/yXNg6vUmtdBpeNRQTLMPapdSDSecGwaexV8C4AR BcHcrnfYUqbQ1WCZYKw56YpGXC3vhx1gmdJWB4VKbeFv49TBOIKo7ln9a8MVKrnN89JR 28zxVP9/F99PlQ72//tljP42ZCagrLltIav0g= Received: by 10.52.90.48 with SMTP id bt16mr255530vdb.141.1306981332374; Wed, 01 Jun 2011 19:22:12 -0700 (PDT) Received: from localhost.localdomain (modemcable055.201-23-96.mc.videotron.ca [96.23.201.55]) by mx.google.com with ESMTPS id da4sm61115vdb.21.2011.06.01.19.22.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 19:22:11 -0700 (PDT) From: Alexandre Raymond To: qemu-devel@nongnu.org Date: Wed, 1 Jun 2011 22:21:30 -0400 Message-Id: <1306981290-17308-1-git-send-email-cerbere@gmail.com> X-Mailer: git-send-email 1.7.5 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.173 Cc: qemu-trivial@nongnu.org, Alexandre Raymond Subject: [Qemu-devel] [PATCH] Fix compilation warning due to missing header for sigaction X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 Tested-by: Andreas Färber --- qemu-common.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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"