From patchwork Mon Oct 6 14:34:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 38371 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 078F3202E7 for ; Mon, 6 Oct 2014 14:36:04 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id 10sf2847455lbg.9 for ; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=XZ9XeITPCSI9k84ySUlZzbI7sY5dPmWpPRIjD+BJ8dk=; b=B3NCWsezgsYglbfmDSFB3Y03G0HbG+K/Y6alvr1yMUSzvdwmQgFHLQFhergMKKU4jG ZFyxdw9GybZdQbsgNPrHSal9eKnX3XTq6/btvHEk25bF/hyoxLGq4j7p72AroFLUMWJ7 nWE6N/7n7tBlESBdsvcdRHWfPLmgSNx3YPOvNHClFebPUnUwQPe+fFkdSjh7Ya1qei0c wcgTHCSr1hac5Els9XrLXM75gFBIDQv+I3oVOwjsp5cqAVaswVMyGc2qEvvJbzB/7bTD Bq5g+RzV0KXoZzq17GwygIBxWgmSs3QQZTGKJo8M4mxGjCINa8ut9W7z3KF7EkLo8JTF 2BOQ== X-Gm-Message-State: ALoCoQlBOxAzjaHz4W1nJH3HdwOSFxVEtqgi6tHOlyXWHW4JxrYqQr3MIiSAiFljEEMgKmGuW7yv X-Received: by 10.112.163.39 with SMTP id yf7mr3306910lbb.7.1412606163822; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.6.2 with SMTP id cq2ls554981lad.102.gmail; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) X-Received: by 10.152.6.202 with SMTP id d10mr25805043laa.69.1412606163636; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) by mx.google.com with ESMTPS id vr4si24171835lbb.110.2014.10.06.07.36.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Oct 2014 07:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so4505486lab.10 for ; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) X-Received: by 10.112.5.133 with SMTP id s5mr3298553lbs.102.1412606163567; Mon, 06 Oct 2014 07:36:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp193698lbb; Mon, 6 Oct 2014 07:36:02 -0700 (PDT) X-Received: by 10.140.31.119 with SMTP id e110mr27811997qge.2.1412606162267; Mon, 06 Oct 2014 07:36:02 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id kw10si24429964qcb.41.2014.10.06.07.36.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Oct 2014 07:36:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:52234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9OL-0007pT-Bp for patch@linaro.org; Mon, 06 Oct 2014 10:36:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9Mq-0006ds-Jm for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb9Mk-0006M1-Ln for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:28 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=44188 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9Mk-0006LQ-Af for qemu-devel@nongnu.org; Mon, 06 Oct 2014 10:34:22 -0400 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 7FC2B26513; Mon, 6 Oct 2014 16:34:20 +0200 (CEST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 6 Oct 2014 17:34:18 +0300 Message-Id: <374a8983b6361a3c580ee38586fec73c11c52f8c.1412604632.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:4b98:dc0:45:216:3eff:fe3d:166f Cc: Riku Voipio Subject: [Qemu-devel] [PULL 4/5] linux-user: don't include timerfd if not needed 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Riku Voipio Without this, builds on older systems fail with: qemu/linux-user/syscall.c:61:25: warning: sys/timerfd.h: No such file or directory Signed-off-by: Riku Voipio --- linux-user/syscall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7087a56..e8f1136 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -58,7 +58,9 @@ int __clone2(int (*fn)(void *), void *child_stack_base, #include #include #include +#ifdef CONFIG_TIMERFD #include +#endif #include #include //#include