Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 1/2] tools/intel_gpu_frequency: include limits.h to fix musl build
Date: Fri, 10 Jul 2026 20:46:18 +0200	[thread overview]
Message-ID: <20260710184619.2347456-1-bernd@kuhls.net> (raw)

Fixes build error seen with musl-based toolchains:

../tools/intel_gpu_frequency.c:90:19: error:
 ‘PATH_MAX’ undeclared (first use in this function)
   90 |         char path[PATH_MAX];

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 tools/intel_gpu_frequency.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/intel_gpu_frequency.c b/tools/intel_gpu_frequency.c
index 6316c2e58..7df7f331d 100644
--- a/tools/intel_gpu_frequency.c
+++ b/tools/intel_gpu_frequency.c
@@ -25,6 +25,7 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <getopt.h>
+#include <limits.h>
 #include <stdio.h>
 #include <time.h>
 #include <unistd.h>
-- 
2.47.3


             reply	other threads:[~2026-07-10 18:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10 18:46 Bernd Kuhls [this message]
2026-07-10 18:46 ` [PATCH i-g-t 2/2] tests/intel/xe_madvise: Fix the type for sighandler_t Bernd Kuhls
2026-07-13 11:27   ` Kamil Konieczny
2026-07-10 20:25 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/2] tools/intel_gpu_frequency: include limits.h to fix musl build Patchwork
2026-07-10 20:25 ` ✓ i915.CI.BAT: " Patchwork
2026-07-11  5:59 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-11 21:30 ` ✗ i915.CI.Full: failure " Patchwork
2026-07-13 11:30   ` Kamil Konieczny
2026-07-13 11:03 ` [PATCH i-g-t 1/2] " Kamil Konieczny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260710184619.2347456-1-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox