From nobody Wed Feb 11 04:18:41 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6788C7619A for ; Sun, 2 Apr 2023 08:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230249AbjDBIOT (ORCPT ); Sun, 2 Apr 2023 04:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbjDBIOL (ORCPT ); Sun, 2 Apr 2023 04:14:11 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 89B931A465 for ; Sun, 2 Apr 2023 01:14:10 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 3328E4kc012124; Sun, 2 Apr 2023 10:14:04 +0200 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux@weissschuh.net, v@vda.io, linux-kernel@vger.kernel.org, Willy Tarreau Subject: [PATCH 2/2] tools/nolibc: fix build of the test case using glibc Date: Sun, 2 Apr 2023 10:13:57 +0200 Message-Id: <20230402081357.12078-3-w@1wt.eu> X-Mailer: git-send-email 2.17.5 In-Reply-To: <20230402081357.12078-1-w@1wt.eu> References: <20230402081357.12078-1-w@1wt.eu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Some extra tests for various integer types and limits were added by commit d1209597ff00 ("tools/nolibc: add tests for the integer limits in stdint.h"), but we forgot to retest with glibc. Stddef and stdint are now needed for the program to build there. Cc: Vincent Dagonneau Signed-off-by: Willy Tarreau --- tools/testing/selftests/nolibc/nolibc-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/s= elftests/nolibc/nolibc-test.c index 6f2f109569a3..1bafbd8da6af 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -34,6 +34,8 @@ #include #include #include +#include +#include #include #endif #endif --=20 2.17.5