[PATCH i-g-t v1 2/3] lib/igt_kmod: fix musl builds
Kamil Konieczny
kamil.konieczny at linux.intel.com
Fri Mar 15 13:19:00 UTC 2024
On musl build the PATH_MAX define is missing, fixed this with
including limits.h
Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
Cc: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
lib/igt_kmod.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index b4b884898..0b01f070f 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -25,6 +25,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <pthread.h>
#include <signal.h>
#include <stdlib.h>
--
2.42.0
More information about the igt-dev
mailing list