From patchwork Thu Apr 16 17:55:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Hackmann X-Patchwork-Id: 6227331 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 04F4EBF4A6 for ; Thu, 16 Apr 2015 17:55:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2FB0220381 for ; Thu, 16 Apr 2015 17:55:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 4F8CC2037D for ; Thu, 16 Apr 2015 17:55:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9AE466E206; Thu, 16 Apr 2015 10:55:53 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F1586E206 for ; Thu, 16 Apr 2015 10:55:52 -0700 (PDT) Received: by iecrt8 with SMTP id rt8so45006425iec.0 for ; Thu, 16 Apr 2015 10:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=7y0hdYcUuW+D5oflk/lCeTO7SI0DdlKcB0av44HpAZw=; b=LxiD+SX2USBaetC/hDGcG0Hn0IACkPP+Zb9xkyC3eTqOKSmewlBz/7g7XgxYm1o75d WJMuoUbZ8O5csHwruiR1D+19zW1MCcofhqHUyzEsHQMqBEWBa1GhBW4o8bfje2Sew/Ww agdIR4h5g29HJEqG8B7VqDulfrmKUSKw+ocN7xWaRTUdyC21atks9qSWKxxMc1AlI00b AxIg7pz3kLG/ROI4ji4BVezAo5YTnicvIH3Qb97Dns5OINP9opnzFugCNTtQDEnJ7i0M B5WGH8Bbh+R5B9w3GWZv9ZpUjpqtWGEWVG9iHTCe1e/aNWU6cNDj/YkTwyrAu49DvrEt a2oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7y0hdYcUuW+D5oflk/lCeTO7SI0DdlKcB0av44HpAZw=; b=PO6KsjzvIIQGBMCl5DEYmz56yPqWlVtqEb/xYvPzd5DmJqSCHiUZPsbaYaftb0tSZ7 GOhC14yvfOFyaMXCyILVskTqEwkkok+GdgHQaKLw2LQ5z8OGD6CqrDGqpUO6rM3r8FE6 6ylrV4MgKD7qpHcSJ5qhfYTmiqpIIf8dXYMRkqENN4378kDgjwCLXSFwIUwJW21n3iw7 jFEG0bD0ZINuMV9/uvIvckHpb8m8U9osGiWJGoBMWmGgDwZzZtAuAvrjNsDjAu9phSAt h5Xki0GIWy7phRsP+SCodibJ8qciHT6UmZS2Wa5frtFWC5qPq/8fO3L6rESdSBHF40W4 ePUw== X-Gm-Message-State: ALoCoQniQrhIbmRx1dEP+rg6T3cHfK84gOkPyP0SHGsY/lZGsBUGLeVTFkrekklDASnXTqyfPyxk X-Received: by 10.50.79.195 with SMTP id l3mr7334257igx.30.1429206951666; Thu, 16 Apr 2015 10:55:51 -0700 (PDT) Received: from ghackmann.mtv.corp.google.com ([172.22.126.101]) by mx.google.com with ESMTPSA id v14sm5516782igd.12.2015.04.16.10.55.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Apr 2015 10:55:51 -0700 (PDT) From: Greg Hackmann To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm] Add missing includes Date: Thu, 16 Apr 2015 10:55:40 -0700 Message-Id: <1429206940-27525-1-git-send-email-ghackmann@google.com> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A couple of files use ffs() without explicitly including strings.h. Some systems will pull in ffs()'s declaration through another header anyway, but not when compiling against bionic in AOSP master. Signed-off-by: Greg Hackmann --- nouveau/nouveau.c | 1 + tests/modetest/modetest.c | 1 + 2 files changed, 2 insertions(+) diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index 2d95b74..22e0f80 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 53dfe05..63d2059 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include