Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp716166pxb; Thu, 19 Aug 2021 09:30:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdi1hz86aINGbWWJbLctb0CxgBC58cXxpbBzGASE10lo7vn0zPbvnJyaxhpuNe3s7rw0FZ X-Received: by 2002:a05:6402:2554:: with SMTP id l20mr17215167edb.252.1629390648425; Thu, 19 Aug 2021 09:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629390648; cv=none; d=google.com; s=arc-20160816; b=C/ViNNuFe0xymUgEljS1luewdg0c0KzeQuaYuGTyF+TskYRXvhIWgcxkxn5vdm1Q7Y aVjy8m1ust0H669R6bKXr7/W0fSHwemi7fFSBTwaT5v1WWCjHoMopk+wq6AOye79F00U 1GXOLcv1w39bTy5fxaHtFSfQdGt45S+bhZg8WMmoxDR5v1FGDbShBkYSqRnYCVsvaf8P fvCaUC75CLUD/6rc1A/DV4OmGHNr8f412LvY/p1bR6c4P1cfLJnOI1PYIZrguTBmn5d4 b4YyuZVxSFhsZphyh3vm3nF+eXCrF//lNCfP55YxF7hmcuS/8NHMM5TKDWKbDut5DJ+6 TNkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6L92tsHz4xRaI2n9RSKW5nUbF1dUMupAAvGnM5bJez0=; b=QPvnkvGeqh48w3h5fBlYIgT/zLwkZcnGbtS+YIMc9mUAYMaN5FSRnm7cELFySyp+YM W2GoW93fOLu1ADOWkbmC2kpVIREaKSIVRZNjpf1TLrr/DChlnHW3k5V+yQaKx73T5S8V jPe+exl6l8voCtfW2Lzqn455boxamtHBTGFJo004PVw42z+IzDaEbTpGQ0RwlEZ99M0T Ekc8gP6Pnz8QCG+cfps5FLa1Qcg9ymIBpaDan8lggt2+gb/XM80z3rcUaeam6Jns3Ry9 p7pbQ3ypL2IDd/r2KrkXHbKaPFtxJb8MAzlAOokSkbt+0WXeCvZlhYVLkIzt8pqXQ68E 2YQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G9NZWF2O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si3601486edw.120.2021.08.19.09.30.19; Thu, 19 Aug 2021 09:30:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G9NZWF2O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229521AbhHSQ3D (ORCPT + 99 others); Thu, 19 Aug 2021 12:29:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhHSQ3C (ORCPT ); Thu, 19 Aug 2021 12:29:02 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4098BC061575; Thu, 19 Aug 2021 09:28:26 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id x27so14188036lfu.5; Thu, 19 Aug 2021 09:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6L92tsHz4xRaI2n9RSKW5nUbF1dUMupAAvGnM5bJez0=; b=G9NZWF2O5KMOjAPkundHYoTTUpxmwcbVdtpmGlcVvobfRHAPc4M3R2HYmSkLZzUSbw mK7VU2XXwNDLOXnWqvghjtpBYjCEiMtI2rREeK1GS9xGcmB6xkCBfz6Wz8j9Kusp5pFE MgvsiAsAJm9TbBEXnSh+lL+oZTPvs56IcFLkNZS4H4BK9Qj3RtG2MaYkGCURFXxuAUNR sUjv2JCHNxVCuum2SYJOwqIcr1tN6duX3xVuKen8dN9aSkHm4RVEGDfxxhCBJFImdDqA Pl1rUvk51RCYHyI/KwsQL0MducqVyiaVCzrLEwPQAHnvnGACYnk+l91+fsCOzxwiGqER LaGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6L92tsHz4xRaI2n9RSKW5nUbF1dUMupAAvGnM5bJez0=; b=UJDrzV5gHe8e4lGFwrXje3cWXBQbV6ovmPg5cEl9Z1fYYqE78To+3pjz5RZAiJJbzo p/6cbfP4PHVg6MenAQqW9yyN5Mvf9ZSG3mzZ/mQ3mZhiN4OK+4hNLepShS0VhB+a49Jj 02/pbYehfooN2uYZaAkXhjlRla8N8rpZO/fZLgnd5AVZZppQnXtCZH0cmid6UEEgv4ei QHxw/r9PAp2biq4GlXdf0/RCjTzFAg2RsaTCJFaKVn5coOBYQbac9+0gt48u5Py+P0Ew Ddvn3GQxT72TJMXVDd15PtcIA8pEbNfpfvAumXPEQLEW3yP/B9jp9KMawkqTQX535ga3 Q/yA== X-Gm-Message-State: AOAM530RTgc2ky5gR5swdeW/6Snzbc+fYLHsqauDZgLEgndR+0i6yEVw mtsTwPMLIiAoOlYa/3sFBV/MGYJCUdKWXKzl0Og= X-Received: by 2002:a05:6512:158b:: with SMTP id bp11mr3210927lfb.300.1629390504645; Thu, 19 Aug 2021 09:28:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Namhyung Kim Date: Thu, 19 Aug 2021 09:28:13 -0700 Message-ID: Subject: Re: [PATCH] perf, android: fixup get_current_dir_name() compilation To: Alexey Dobriyan Cc: Arnaldo Carvalho de Melo , linux-kernel , linux-perf-users Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Aug 17, 2021 at 4:59 AM Alexey Dobriyan wrote: > > strdup() prototype doesn't live in stdlib.h . > > Add limits.h for PATH_MAX definition as well. > > Signed-off-by: Alexey Dobriyan (SK hynix) Acked-by: Namhyung Kim Thanks, Namhyung > --- > > tools/perf/util/get_current_dir_name.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > --- a/tools/perf/util/get_current_dir_name.c > +++ b/tools/perf/util/get_current_dir_name.c > @@ -3,8 +3,9 @@ > // > #ifndef HAVE_GET_CURRENT_DIR_NAME > #include "get_current_dir_name.h" > +#include > +#include > #include > -#include > > /* Android's 'bionic' library, for one, doesn't have this */ >