Return-Path: Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2008910E365 for ; Mon, 30 Oct 2023 19:59:23 +0000 (UTC) From: Bernd Kuhls To: igt-dev@lists.freedesktop.org Date: Mon, 30 Oct 2023 20:58:08 +0100 Message-Id: <20231030195809.3527410-6-bernd@kuhls.net> In-Reply-To: <20231030195809.3527410-1-bernd@kuhls.net> References: <20231030195809.3527410-1-bernd@kuhls.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH v3 6/7] lib: include limits.h to fix build with musl libc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefano Ragni Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Stefano Ragni Original patch was added to void-linux: https://github.com/void-linux/void-packages/commit/ddfc1f66a0c571b420303c33aed29fd38ace4fc7 Bug report with request to split the original patch into some functional changes: Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138 Signed-off-by: Stefano Ragni Signed-off-by: Bernd Kuhls [Bernd: alphabetically sorted includes, removed includes not needed anymore] --- v3: split patches for lib/ and tests/ (Kamil) lib/igt_aux.c | 1 + lib/igt_eld.c | 1 + lib/igt_hwmon.c | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 18edc5ef9..d6aeb876b 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -31,6 +31,7 @@ #endif #include #include +#include // PATH_MAX #include #include #include diff --git a/lib/igt_eld.c b/lib/igt_eld.c index ef6625df1..6cec9abdd 100644 --- a/lib/igt_eld.c +++ b/lib/igt_eld.c @@ -28,6 +28,7 @@ #include #include #include +#include // PATH_MAX #include #include #include diff --git a/lib/igt_hwmon.c b/lib/igt_hwmon.c index f37ced2d9..53c346e73 100644 --- a/lib/igt_hwmon.c +++ b/lib/igt_hwmon.c @@ -2,6 +2,7 @@ /* * Copyright © 2022 Intel Corporation */ +#include // PATH_MAX #include #include #include -- 2.39.2